{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2022-48654",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2024-02-25T13:44:28.317Z",
        "datePublished": "2024-04-28T13:00:56.564Z",
        "dateUpdated": "2026-08-05T08:51:38.661Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-08-05T08:51:38.661Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nnetfilter: nfnetlink_osf: fix possible bogus match in nf_osf_find()\n\nnf_osf_find() incorrectly returns true on mismatch, this leads to\ncopying uninitialized memory area in nft_osf which can be used to leak\nstale kernel stack data to userspace."
                }
            ],
            "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 - The vulnerable path is reached by configuring an nftables osf expression via NETLINK_NETFILTER and then evaluating it on a TCP SYN; nftables/netlink is Local per kernel guidance, not a remote packet-only bug.\nAC:L - An attacker can create an osf rule with no matching fingerprints (empty global finger list) and send a local TCP SYN so nf_osf_find() always takes the bogus-true path; no race or attacker-uncontrollable condition is required.\nPR:L - nfnetlink gates on CAP_NET_ADMIN via netlink_net_capable() against the socket’s network-namespace user_ns, which an unprivileged user obtains with unshare -Urn, so this is Low rather than real-root High.\nUI:N - The attacker configures the osf expression and triggers evaluation with their own TCP SYN; no separate victim action is required.\nS:U - Impact stays within the local host kernel authority (stack/pointer disclosure or oops); this is not a VM escape, IOMMU bypass, or other cross-boundary effect.\nC:H - On mismatch, uninitialized const char * genre/version are passed to strscpy/snprintf and up to NFT_OSF_MAXGENRELEN bytes from the wild addresses are copied into an nft register visible to userspace, enabling kernel memory disclosure.\nI:N - The bug only reads through uninitialized pointers and copies into the attacker-controlled nft register path; there is no OOB write, UAF, or control-flow hijack primitive.\nA:H - Dereferencing uninitialized genre/version pointers commonly faults on unmapped addresses and oopses/panics the kernel, which is High availability impact under kernel CVSS guidance."
                        }
                    ]
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "net/netfilter/nfnetlink_osf.c"
                    ],
                    "versions": [
                        {
                            "version": "22c7652cdaa8cd33ce78bacceb4e826a3f795873",
                            "lessThan": "721ea8ac063d70c2078c4e762212705de6151764",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "22c7652cdaa8cd33ce78bacceb4e826a3f795873",
                            "lessThan": "5d75fef3e61e797fab5c3fbba88caa74ab92ad47",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "22c7652cdaa8cd33ce78bacceb4e826a3f795873",
                            "lessThan": "816eab147e5c6f6621922b8515ad9010ceb1735e",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "22c7652cdaa8cd33ce78bacceb4e826a3f795873",
                            "lessThan": "633c81c0449663f57d4138326d036dc6cfad674e",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "22c7652cdaa8cd33ce78bacceb4e826a3f795873",
                            "lessThan": "559c36c5a8d730c49ef805a72b213d3bba155cc8",
                            "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/nfnetlink_osf.c"
                    ],
                    "versions": [
                        {
                            "version": "5.2",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "5.2",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.4.215",
                            "lessThanOrEqual": "5.4.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.10.146",
                            "lessThanOrEqual": "5.10.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.15.71",
                            "lessThanOrEqual": "5.15.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.19.12",
                            "lessThanOrEqual": "5.19.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.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": "5.2",
                                    "versionEndExcluding": "5.4.215"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.2",
                                    "versionEndExcluding": "5.10.146"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.2",
                                    "versionEndExcluding": "5.15.71"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.2",
                                    "versionEndExcluding": "5.19.12"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.2",
                                    "versionEndExcluding": "6.0"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/721ea8ac063d70c2078c4e762212705de6151764"
                },
                {
                    "url": "https://git.kernel.org/stable/c/5d75fef3e61e797fab5c3fbba88caa74ab92ad47"
                },
                {
                    "url": "https://git.kernel.org/stable/c/816eab147e5c6f6621922b8515ad9010ceb1735e"
                },
                {
                    "url": "https://git.kernel.org/stable/c/633c81c0449663f57d4138326d036dc6cfad674e"
                },
                {
                    "url": "https://git.kernel.org/stable/c/559c36c5a8d730c49ef805a72b213d3bba155cc8"
                }
            ],
            "title": "netfilter: nfnetlink_osf: fix possible bogus match in nf_osf_find()",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        },
        "adp": [
            {
                "problemTypes": [
                    {
                        "descriptions": [
                            {
                                "type": "CWE",
                                "lang": "en",
                                "description": "CWE-noinfo Not enough information"
                            }
                        ]
                    }
                ],
                "metrics": [
                    {
                        "cvssV3_1": {
                            "scope": "UNCHANGED",
                            "version": "3.1",
                            "baseScore": 5.3,
                            "attackVector": "LOCAL",
                            "baseSeverity": "MEDIUM",
                            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L",
                            "integrityImpact": "LOW",
                            "userInteraction": "NONE",
                            "attackComplexity": "LOW",
                            "availabilityImpact": "LOW",
                            "privilegesRequired": "LOW",
                            "confidentialityImpact": "LOW"
                        }
                    },
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "timestamp": "2024-07-16T20:35:56.717348Z",
                                "id": "CVE-2022-48654",
                                "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-10-30T15:43:45.122Z"
                }
            },
            {
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2024-08-03T15:17:55.613Z"
                },
                "title": "CVE Program Container",
                "references": [
                    {
                        "url": "https://git.kernel.org/stable/c/721ea8ac063d70c2078c4e762212705de6151764",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://git.kernel.org/stable/c/5d75fef3e61e797fab5c3fbba88caa74ab92ad47",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://git.kernel.org/stable/c/816eab147e5c6f6621922b8515ad9010ceb1735e",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://git.kernel.org/stable/c/633c81c0449663f57d4138326d036dc6cfad674e",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://git.kernel.org/stable/c/559c36c5a8d730c49ef805a72b213d3bba155cc8",
                        "tags": [
                            "x_transferred"
                        ]
                    }
                ]
            }
        ]
    }
}