{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2024-27016",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2024-02-19T14:20:24.209Z",
        "datePublished": "2024-05-01T05:29:57.099Z",
        "dateUpdated": "2026-08-05T11:28:59.141Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-08-05T11:28:59.141Z"
            },
            "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."
                }
            ],
            "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."
                        }
                    ]
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "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"
                    ],
                    "versions": [
                        {
                            "version": "72efd585f7144a047f7da63864284764596ccad9",
                            "lessThan": "d06977b9a4109f8738bb276125eb6a0b772bc433",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "72efd585f7144a047f7da63864284764596ccad9",
                            "lessThan": "8bf7c76a2a207ca2b4cfda0a279192adf27678d7",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "72efd585f7144a047f7da63864284764596ccad9",
                            "lessThan": "a2471d271042ea18e8a6babc132a8716bb2f08b9",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "72efd585f7144a047f7da63864284764596ccad9",
                            "lessThan": "cf366ee3bc1b7d1c76a882640ba3b3f8f1039163",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "72efd585f7144a047f7da63864284764596ccad9",
                            "lessThan": "87b3593bed1868b2d9fe096c01bcdf0ea86cbebf",
                            "status": "affected",
                            "versionType": "git"
                        }
                    ]
                },
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "affected",
                    "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"
                    ],
                    "versions": [
                        {
                            "version": "5.13",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "5.13",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.15.157",
                            "lessThanOrEqual": "5.15.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.1.88",
                            "lessThanOrEqual": "6.1.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.6.29",
                            "lessThanOrEqual": "6.6.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.8.8",
                            "lessThanOrEqual": "6.8.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.9",
                            "lessThanOrEqual": "*",
                            "status": "unaffected",
                            "versionType": "original_commit_for_fix"
                        }
                    ]
                }
            ],
            "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"
                                }
                            ]
                        }
                    ]
                }
            ],
            "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"
                }
            ],
            "title": "netfilter: flowtable: validate pppoe header",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        },
        "adp": [
            {
                "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"
                            }
                        }
                    }
                ],
                "title": "CISA ADP Vulnrichment",
                "providerMetadata": {
                    "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
                    "shortName": "CISA-ADP",
                    "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": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2025-11-04T17:17:20.124Z"
                }
            }
        ]
    }
}