{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-31407",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-03-09T15:48:24.086Z",
        "datePublished": "2026-04-06T07:38:19.712Z",
        "dateUpdated": "2026-08-05T12:22:16.533Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-08-05T12:22:16.533Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nnetfilter: conntrack: add missing netlink policy validations\n\nHyunwoo Kim reports out-of-bounds access in sctp and ctnetlink.\n\nThese attributes are used by the kernel without any validation.\nExtend the netlink policies accordingly.\n\nQuoting the reporter:\n  nlattr_to_sctp() assigns the user-supplied CTA_PROTOINFO_SCTP_STATE\n  value directly to ct->proto.sctp.state without checking that it is\n  within the valid range. [..]\n\n  and: ... with exp->dir = 100, the access at\n  ct->master->tuplehash[100] reads 5600 bytes past the start of a\n  320-byte nf_conn object, causing a slab-out-of-bounds read confirmed by\n  UBSAN."
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "version": "3.1",
                        "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H",
                        "baseScore": 7.1,
                        "baseSeverity": "HIGH"
                    },
                    "scenarios": [
                        {
                            "lang": "en",
                            "value": "AV:L - Reachability is through NETLINK_NETFILTER ctnetlink messages sent by a local process. Later packet processing can trigger the bad state or expectation, but the attacker must first inject the malformed conntrack/expectation attributes locally.\nAC:L - The bug is triggered with crafted netlink attributes and does not require winning a race. The attacker can create the relevant conntrack/expectation state and matching traffic in a controlled network namespace.\nPR:L - nfnetlink requires CAP_NET_ADMIN in the socket's network namespace. Because this capability is reachable via user and network namespaces on affected deployments, this is low privilege rather than high privilege.\nUI:N - No victim action is required after the attacker can send the netlink request. The attacker can trigger the vulnerable paths directly.\nS:U - The impact remains within the kernel security authority. This is not a VM escape or cross-authority boundary bypass.\nC:H - The missing validation permits attacker-controlled out-of-bounds reads, including indexing beyond the master nf_conn tuplehash and SCTP state tables. This is not strictly bounded to a harmless few bytes, so high confidentiality impact is defensible.\nI:N - The investigated paths show out-of-bounds reads and invalid in-object state assignment, not an out-of-bounds write or control-flow overwrite. No direct integrity-impacting primitive was identified.\nA:H - The out-of-bounds reads are attacker-triggerable and were reported as UBSAN-confirmed slab out-of-bounds accesses. Such kernel faults can produce an oops or panic, so availability impact is high."
                        }
                    ]
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "net/netfilter/nf_conntrack_netlink.c",
                        "net/netfilter/nf_conntrack_proto_sctp.c"
                    ],
                    "versions": [
                        {
                            "version": "a258860e01b80e8f554a4ab1a6c95e6042eb8b73",
                            "lessThan": "e7b5766693477c52424cc6c79dd30a7a9c7db52c",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "a258860e01b80e8f554a4ab1a6c95e6042eb8b73",
                            "lessThan": "78bba9f73942aa7dca47d817d8cec0fb9b443b70",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "a258860e01b80e8f554a4ab1a6c95e6042eb8b73",
                            "lessThan": "be88a337bf07afb1ee173f1099294d1b7ab3fefe",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "a258860e01b80e8f554a4ab1a6c95e6042eb8b73",
                            "lessThan": "c5e918390002edf0cff80a0e7ce1f86f16a9507c",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "a258860e01b80e8f554a4ab1a6c95e6042eb8b73",
                            "lessThan": "9174d28f3f15d8c4962f5980c0be167633880443",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "a258860e01b80e8f554a4ab1a6c95e6042eb8b73",
                            "lessThan": "67c53c1978cef3c504237275e39c857e2f6af56e",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "a258860e01b80e8f554a4ab1a6c95e6042eb8b73",
                            "lessThan": "0fbae1e74493d5a160a70c51aeba035d8266ea7d",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "a258860e01b80e8f554a4ab1a6c95e6042eb8b73",
                            "lessThan": "f900e1d77ee0ef87bfb5ab3fe60f0b3d8ad5ba05",
                            "status": "affected",
                            "versionType": "git"
                        }
                    ]
                },
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "affected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "net/netfilter/nf_conntrack_netlink.c",
                        "net/netfilter/nf_conntrack_proto_sctp.c"
                    ],
                    "versions": [
                        {
                            "version": "2.6.27",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "2.6.27",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.10.258",
                            "lessThanOrEqual": "5.10.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.15.209",
                            "lessThanOrEqual": "5.15.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.1.175",
                            "lessThanOrEqual": "6.1.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.6.136",
                            "lessThanOrEqual": "6.6.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.12.83",
                            "lessThanOrEqual": "6.12.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.18.24",
                            "lessThanOrEqual": "6.18.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.19.10",
                            "lessThanOrEqual": "6.19.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.0",
                            "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": "2.6.27",
                                    "versionEndExcluding": "5.10.258"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "2.6.27",
                                    "versionEndExcluding": "5.15.209"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "2.6.27",
                                    "versionEndExcluding": "6.1.175"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "2.6.27",
                                    "versionEndExcluding": "6.6.136"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "2.6.27",
                                    "versionEndExcluding": "6.12.83"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "2.6.27",
                                    "versionEndExcluding": "6.18.24"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "2.6.27",
                                    "versionEndExcluding": "6.19.10"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "2.6.27",
                                    "versionEndExcluding": "7.0"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/e7b5766693477c52424cc6c79dd30a7a9c7db52c"
                },
                {
                    "url": "https://git.kernel.org/stable/c/78bba9f73942aa7dca47d817d8cec0fb9b443b70"
                },
                {
                    "url": "https://git.kernel.org/stable/c/be88a337bf07afb1ee173f1099294d1b7ab3fefe"
                },
                {
                    "url": "https://git.kernel.org/stable/c/c5e918390002edf0cff80a0e7ce1f86f16a9507c"
                },
                {
                    "url": "https://git.kernel.org/stable/c/9174d28f3f15d8c4962f5980c0be167633880443"
                },
                {
                    "url": "https://git.kernel.org/stable/c/67c53c1978cef3c504237275e39c857e2f6af56e"
                },
                {
                    "url": "https://git.kernel.org/stable/c/0fbae1e74493d5a160a70c51aeba035d8266ea7d"
                },
                {
                    "url": "https://git.kernel.org/stable/c/f900e1d77ee0ef87bfb5ab3fe60f0b3d8ad5ba05"
                }
            ],
            "title": "netfilter: conntrack: add missing netlink policy validations",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        }
    }
}