Description
The tpacket_rcv function in net/packet/af_packet.c in the Linux kernel before 4.13 mishandles vnet headers, which might allow local users to cause a denial of service (buffer overflow, and disk and memory corruption) or possibly have unspecified other impact via crafted system calls.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | linux | 4.12.13-1 | — |
| Debian 13 | linux | 4.12.13-1 | — |
| Debian 12 | linux | 4.12.13-1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 24.04 LTS | linux-raspi-realtime | No fix yet | — |
| Ubuntu 22.04 LTS | linux-riscv +2 | No fix yet | — |
| Ubuntu 20.04 LTS | linux-gke +3 | No fix yet | — |
| Ubuntu 18.04 LTS | linux-gcp +4 | No fix yet | — |
| Ubuntu 16.04 LTS | linux-azure | 4.13.0-1005.7 | — |
| Ubuntu 16.04 LTS | linux-gcp | 4.13.0-1002.5 | — |
| Ubuntu 16.04 LTS | linux-hwe | 4.13.0-32.35~16.04.1 | — |
References
- https://marc.info/?l=linux-kernel&m=150394500728906&w=2
- https://bugzilla.redhat.com/show_bug.cgi?id=1492593
- [oss-security] 20170918 CVE-2017-14497: Linux kernel: packet: buffer overflow in tpacket_rcv() mailing-list
- 1039371 vdb-entry
- 100871 vdb-entry
- https://source.android.com/security/bulletin/2018-01-01
- DSA-3981 vendor-advisory
- https://github.com/torvalds/linux/commit/edbd58be15a957f6a760c4a514cd475217eb97fd
- https://marc.info/?t=150394517700001&r=1&w=2
- http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=edbd58be15a957f6a760c4a514cd475217eb97fd
- 1040106 vdb-entry