{"id":"CVE-2025-22110","summary":"netfilter: nfnetlink_queue: Initialize ctx to avoid memory allocation error","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nnetfilter: nfnetlink_queue: Initialize ctx to avoid memory allocation error\n\nIt is possible that ctx in nfqnl_build_packet_message() could be used\nbefore it is properly initialize, which is only initialized\nby nfqnl_get_sk_secctx().\n\nThis patch corrects this problem by initializing the lsmctx to a safe\nvalue when it is declared.\n\nThis is similar to the commit 35fcac7a7c25\n(\"audit: Initialize lsmctx to avoid memory allocation error\").","modified":"2026-03-20T12:41:19.910430Z","published":"2025-04-16T14:12:57.061Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/22xxx/CVE-2025-22110.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/778b09d91baafb13408470c721d034d6515cfa5a"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ddbf7e1d82a1d0c1d3425931a6cb1b83f8454759"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/22xxx/CVE-2025-22110.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-22110"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"2d470c778120d3cdb8d8ab250329ca85f49f12b1"},{"fixed":"ddbf7e1d82a1d0c1d3425931a6cb1b83f8454759"},{"fixed":"778b09d91baafb13408470c721d034d6515cfa5a"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-22110.json"}}],"schema_version":"1.7.5"}