{"id":"CVE-2024-27016","state":"PUBLISHED","title":"netfilter: flowtable: validate pppoe header","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nnetfilter: flowtable: validate pppoe header\n\nEnsure there is sufficient room to access the protocol field of the\nPPPoe header. Validate it once before the flowtable lookup, then use a\nhelper function to access protocol field.","publishedAt":"2024-05-01T05:29:57.099Z","updatedAt":"2026-08-05T11:28:59.141Z","severity":{"score":7.1,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H","source":"Linux"},"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"72efd585f7144a047f7da63864284764596ccad9","status":"affected","lessThan":"d06977b9a4109f8738bb276125eb6a0b772bc433","versionType":"git"},{"version":"72efd585f7144a047f7da63864284764596ccad9","status":"affected","lessThan":"8bf7c76a2a207ca2b4cfda0a279192adf27678d7","versionType":"git"},{"version":"72efd585f7144a047f7da63864284764596ccad9","status":"affected","lessThan":"a2471d271042ea18e8a6babc132a8716bb2f08b9","versionType":"git"},{"version":"72efd585f7144a047f7da63864284764596ccad9","status":"affected","lessThan":"cf366ee3bc1b7d1c76a882640ba3b3f8f1039163","versionType":"git"},{"version":"72efd585f7144a047f7da63864284764596ccad9","status":"affected","lessThan":"87b3593bed1868b2d9fe096c01bcdf0ea86cbebf","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["include/net/netfilter/nf_flow_table.h","net/netfilter/nf_flow_table_inet.c","net/netfilter/nf_flow_table_ip.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.13","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.13","versionType":"semver"},{"version":"5.15.157","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.88","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.29","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.8.8","status":"unaffected","lessThanOrEqual":"6.8.*","versionType":"semver"},{"version":"6.9","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["include/net/netfilter/nf_flow_table.h","net/netfilter/nf_flow_table_inet.c","net/netfilter/nf_flow_table_ip.c"]}],"references":["https://git.kernel.org/stable/c/d06977b9a4109f8738bb276125eb6a0b772bc433","https://git.kernel.org/stable/c/8bf7c76a2a207ca2b4cfda0a279192adf27678d7","https://git.kernel.org/stable/c/a2471d271042ea18e8a6babc132a8716bb2f08b9","https://git.kernel.org/stable/c/cf366ee3bc1b7d1c76a882640ba3b3f8f1039163","https://git.kernel.org/stable/c/87b3593bed1868b2d9fe096c01bcdf0ea86cbebf","https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/DAMSOZXJEPUOXW33WZYWCVAY7Z5S7OOY/","https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/4EZ6PJW7VOZ224TD7N4JZNU6KV32ZJ53/","https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/GCBZZEC7L7KTWWAS2NLJK6SO3IZIL4WW/"],"weaknesses":[],"ingestedAt":"2026-10-29T20:07:10.607Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/27xxx/CVE-2024-27016.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2024-27016","state":"PUBLISHED","datePublished":"2024-05-01T05:29:57.099Z","dateUpdated":"2026-08-05T11:28:59.141Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2024-02-19T14:20:24.209Z"},"containers":{"cna":{"title":"netfilter: flowtable: validate pppoe header","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nnetfilter: flowtable: validate pppoe header\n\nEnsure there is sufficient room to access the protocol field of the\nPPPoe header. Validate it once before the flowtable lookup, then use a\nhelper function to access protocol field."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"72efd585f7144a047f7da63864284764596ccad9","status":"affected","lessThan":"d06977b9a4109f8738bb276125eb6a0b772bc433","versionType":"git"},{"version":"72efd585f7144a047f7da63864284764596ccad9","status":"affected","lessThan":"8bf7c76a2a207ca2b4cfda0a279192adf27678d7","versionType":"git"},{"version":"72efd585f7144a047f7da63864284764596ccad9","status":"affected","lessThan":"a2471d271042ea18e8a6babc132a8716bb2f08b9","versionType":"git"},{"version":"72efd585f7144a047f7da63864284764596ccad9","status":"affected","lessThan":"cf366ee3bc1b7d1c76a882640ba3b3f8f1039163","versionType":"git"},{"version":"72efd585f7144a047f7da63864284764596ccad9","status":"affected","lessThan":"87b3593bed1868b2d9fe096c01bcdf0ea86cbebf","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["include/net/netfilter/nf_flow_table.h","net/netfilter/nf_flow_table_inet.c","net/netfilter/nf_flow_table_ip.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.13","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.13","versionType":"semver"},{"version":"5.15.157","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.88","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.29","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.8.8","status":"unaffected","lessThanOrEqual":"6.8.*","versionType":"semver"},{"version":"6.9","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["include/net/netfilter/nf_flow_table.h","net/netfilter/nf_flow_table_inet.c","net/netfilter/nf_flow_table_ip.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/d06977b9a4109f8738bb276125eb6a0b772bc433"},{"url":"https://git.kernel.org/stable/c/8bf7c76a2a207ca2b4cfda0a279192adf27678d7"},{"url":"https://git.kernel.org/stable/c/a2471d271042ea18e8a6babc132a8716bb2f08b9"},{"url":"https://git.kernel.org/stable/c/cf366ee3bc1b7d1c76a882640ba3b3f8f1039163"},{"url":"https://git.kernel.org/stable/c/87b3593bed1868b2d9fe096c01bcdf0ea86cbebf"}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H","baseScore":7.1,"baseSeverity":"HIGH"},"scenarios":[{"lang":"en","value":"AV:A - The vulnerable code is the netfilter flowtable NF_NETDEV_INGRESS hook, reached purely by receiving an Ethernet frame with ethertype 0x8864 (ETH_P_PPP_SES); PPPoE session frames are a link-layer encapsulation and are not routable across L3, so the attacker must be on the same L2 segment (ISP access network of a PPPoE CPE, the router LAN, or a bridged VM/tap network).\nAC:L - The attacker simply emits a truncated PPPoE session frame carrying fewer than 8 bytes past the Ethernet header — there is no race, no memory-layout dependency, and no state the attacker cannot create, since tap/virtio, veth, and L2-tunnel decap paths impose no minimum-frame padding and can be triggered repeatedly at will.\nPR:N - No credentials or privileges on the target are needed — the flowtable ingress hook processes every received frame before any authentication, and the nftables flowtable configuration is the victim admin's normal router/offload setup, not an attacker prerequisite.\nUI:N - The out-of-bounds read happens automatically in softirq packet-receive context as soon as the crafted frame arrives on the flowtable-bound interface; no action by any local user or administrator is required.\nS:U - The out-of-bounds read and its consequences are confined to the kernel's own memory and the same security authority; no VM, IOMMU, or sandbox boundary is crossed.\nC:L - The bug reads 2 bytes of adjacent kernel heap memory beyond the packet buffer, but the read is strictly bounded to a fixed offset and the value is only compared against PPP_IP/PPP_IPV6, giving at most a weak fast-path-versus-slow-path oracle rather than a general memory-disclosure primitive.\nI:N - The defect is a read-only over-read; no kernel memory is written, and the misclassified packet's subsequent handling is re-validated by pskb_may_pull() in nf_flow_tuple_ip() before any header mangling occurs.\nA:H - The slab-out-of-bounds read is a KASAN-detectable memory-safety violation that panics debug/hardened kernels and can fault when the skb head abuts an unmapped region, and it is triggerable remotely, repeatedly, and without authentication on every arriving frame."}]}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-08-05T11:28:59.141Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.13","versionEndExcluding":"5.15.157"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.13","versionEndExcluding":"6.1.88"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.13","versionEndExcluding":"6.6.29"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.13","versionEndExcluding":"6.8.8"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.13","versionEndExcluding":"6.9"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-07-17T15:04:34.814514Z","id":"CVE-2024-27016","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-07-17T15:04:50.051Z"}},{"title":"CVE Program Container","references":[{"url":"https://git.kernel.org/stable/c/d06977b9a4109f8738bb276125eb6a0b772bc433","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/8bf7c76a2a207ca2b4cfda0a279192adf27678d7","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/a2471d271042ea18e8a6babc132a8716bb2f08b9","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/cf366ee3bc1b7d1c76a882640ba3b3f8f1039163","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/87b3593bed1868b2d9fe096c01bcdf0ea86cbebf","tags":["x_transferred"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/DAMSOZXJEPUOXW33WZYWCVAY7Z5S7OOY/"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/4EZ6PJW7VOZ224TD7N4JZNU6KV32ZJ53/"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/GCBZZEC7L7KTWWAS2NLJK6SO3IZIL4WW/"}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2025-11-04T17:17:20.124Z"}}]}}}