{"id":"CVE-2026-45848","aliases":["CVE-2026-45848"],"related":[],"kind":"vulnerability","state":"published","title":"apparmor: fix NULL sock in aa_sock_file_perm","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\napparmor: fix NULL sock in aa_sock_file_perm\n\nDeal with the potential that sock and sock-sk can be NULL during\nsocket setup or teardown. This could lead to an oops. The fix for NULL\npointer dereference in __unix_needs_revalidation shows this is at\nleast possible for af_unix sockets. While the fix for af_unix sockets\napplies for newer mediation this is still the fall back path for older\naf_unix mediation and other sockets, so ensure it is covered.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\napparmor: fix NULL sock in aa_sock_file_perm\n\nDeal with the potential that sock and sock-sk can be NULL during\nsocket setup or teardown. This could lead to an oops. The fix for NULL\npointer dereference in __unix_needs_revalidation shows this is at\nleast possible for af_unix sockets. While the fix for af_unix sockets\napplies for newer mediation this is still the fall back path for older\naf_unix mediation and other sockets, so ensure it is covered.","source":"cvelist"}],"published":"2026-05-27T12:15:12.310Z","modified":"2026-06-25T21:03:46.037Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-476"],"affected":[{"ranges":[{"type":"git","introduced":"56974a6fcfef69ee0825bd66ed13e92070ac5224","fixed":"68538ec34fcb4194c7961dc4eca6f5537fec8067","status":"affected"},{"type":"git","introduced":"56974a6fcfef69ee0825bd66ed13e92070ac5224","fixed":"5121b7283f1c46e4c06b88b1dda7b064429d77de","status":"affected"},{"type":"git","introduced":"56974a6fcfef69ee0825bd66ed13e92070ac5224","fixed":"c11b7c3280d000376e27ebfed17ec7046699eab4","status":"affected"},{"type":"git","introduced":"56974a6fcfef69ee0825bd66ed13e92070ac5224","fixed":"0dc19bca22606f7a61d5988408f74e3ae0ef3486","status":"affected"},{"type":"git","introduced":"56974a6fcfef69ee0825bd66ed13e92070ac5224","fixed":"3852eb9a0392eb435c03dcb47d581bcfe6a9a95b","status":"affected"},{"type":"git","introduced":"56974a6fcfef69ee0825bd66ed13e92070ac5224","fixed":"ccb66a3c6c8f51b3ed1bc003b70bb9ff99e8d835","status":"affected"},{"type":"git","introduced":"56974a6fcfef69ee0825bd66ed13e92070ac5224","fixed":"8a0ededbfcff74598f82f1d4b8ef9db28878b317","status":"affected"},{"type":"git","introduced":"56974a6fcfef69ee0825bd66ed13e92070ac5224","fixed":"00b67657535dfea56e84d11492f5c0f61d0af297","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.17","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.17","status":"unaffected"},{"type":"semver","introduced":"5.10.252","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.202","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.165","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.128","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.75","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.14","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"6.19.4","lastAffected":"6.19.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.0","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"4.17","fixed":"5.10.252"},{"status":"affected","introduced":"5.11","fixed":"5.15.202"},{"status":"affected","introduced":"5.16","fixed":"6.1.165"},{"status":"affected","introduced":"6.2","fixed":"6.6.128"},{"status":"affected","introduced":"6.7","fixed":"6.12.75"},{"status":"affected","introduced":"6.13","fixed":"6.18.14"},{"status":"affected","introduced":"6.19","fixed":"6.19.4"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/68538ec34fcb4194c7961dc4eca6f5537fec8067","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/5121b7283f1c46e4c06b88b1dda7b064429d77de","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c11b7c3280d000376e27ebfed17ec7046699eab4","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/0dc19bca22606f7a61d5988408f74e3ae0ef3486","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3852eb9a0392eb435c03dcb47d581bcfe6a9a95b","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ccb66a3c6c8f51b3ed1bc003b70bb9ff99e8d835","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8a0ededbfcff74598f82f1d4b8ef9db28878b317","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/00b67657535dfea56e84d11492f5c0f61d0af297","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-45848","url":"https://www.cve.org/CVERecord?id=CVE-2026-45848","licence":"CVE Terms of Use","modified":"2026-05-27T12:15:12.310Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-45848","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-45848","licence":"Public domain","modified":"2026-06-25T21:03:46.037Z"}],"updatedAt":"2026-11-25T22:59:22.472Z","epss":{"score":0.0016,"percentile":0.05456,"date":"2026-12-01T12:00:22.000Z"}}