CVE-2026-45966
publishedapparmor: fix NULL pointer dereference in __unix_needs_revalidation
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux88fec3526e84123997ecebd6bb6778eb4ce779b7 to < fea017a7f6abe179decf575a2d8464c74edb3964 · 88fec3526e84123997ecebd6bb6778eb4ce779b7 to < e85bc9101afc4202aa2269967ce9d3ffbecd0994 · 88fec3526e84123997ecebd6bb6778eb4ce779b7 to < e2938ad00b21340c0362562dfedd7cfec0554d67 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.17 (affected) · 0 to < 6.17 (unaffected · semver) · 6.18.14 through 6.18.* (unaffected · semver) · 6.19.4 through 6.19.* (unaffected · semver) · 7.0 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Ubuntu | noble | linux-aws-6.17 | Advisory build | 6.17.0-1017.17~24.04.1 | USN-8374-1 |
| Ubuntu | noble | linux-aws-6.17-cloud-tools-6.17.0-1017 | Advisory build | 6.17.0-1017.17~24.04.1 | USN-8374-1 |
| Ubuntu | noble | linux-aws-6.17-headers-6.17.0-1017 | Advisory build | 6.17.0-1017.17~24.04.1 | USN-8374-1 |
| Ubuntu | noble | linux-aws-6.17-tools-6.17.0-1017 | Advisory build | 6.17.0-1017.17~24.04.1 | USN-8374-1 |
Show 58 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Ubuntu | noble | linux-buildinfo-6.17.0-1017-aws | Advisory build | 6.17.0-1017.17~24.04.1 | USN-8374-1 |
| Ubuntu | noble | linux-buildinfo-6.17.0-1017-aws-64k | Advisory build | 6.17.0-1017.17~24.04.1 | USN-8374-1 |
| Ubuntu | noble | linux-buildinfo-6.17.0-1018-gcp | Advisory build | 6.17.0-1018.19~24.04.1 | USN-8374-1 |
| Ubuntu | noble | linux-buildinfo-6.17.0-1018-gcp-64k | Advisory build | 6.17.0-1018.19~24.04.1 | USN-8374-1 |
| Ubuntu | noble | linux-buildinfo-6.17.0-1026-nvidia | Advisory build | 6.17.0-1026.26 | USN-8508-1 |
| Ubuntu | noble | linux-buildinfo-6.17.0-1026-nvidia-64k | Advisory build | 6.17.0-1026.26 | USN-8508-1 |
| Ubuntu | noble | linux-cloud-tools-6.17.0-1017-aws | Advisory build | 6.17.0-1017.17~24.04.1 | USN-8374-1 |
| Ubuntu | noble | linux-cloud-tools-6.17.0-1017-aws-64k | Advisory build | 6.17.0-1017.17~24.04.1 | USN-8374-1 |
| Ubuntu | noble | linux-gcp-6.17 | Advisory build | 6.17.0-1018.19~24.04.1 | USN-8374-1 |
| Ubuntu | noble | linux-gcp-6.17-headers-6.17.0-1018 | Advisory build | 6.17.0-1018.19~24.04.1 | USN-8374-1 |
| Ubuntu | noble | linux-gcp-6.17-tools-6.17.0-1018 | Advisory build | 6.17.0-1018.19~24.04.1 | USN-8374-1 |
| Ubuntu | noble | linux-headers-6.17.0-1017-aws | Advisory build | 6.17.0-1017.17~24.04.1 | USN-8374-1 |
| Ubuntu | noble | linux-headers-6.17.0-1017-aws-64k | Advisory build | 6.17.0-1017.17~24.04.1 | USN-8374-1 |
| Ubuntu | noble | linux-headers-6.17.0-1018-gcp | Advisory build | 6.17.0-1018.19~24.04.1 | USN-8374-1 |
| Ubuntu | noble | linux-headers-6.17.0-1018-gcp-64k | Advisory build | 6.17.0-1018.19~24.04.1 | USN-8374-1 |
| Ubuntu | noble | linux-headers-6.17.0-1026-nvidia | Advisory build | 6.17.0-1026.26 | USN-8508-1 |
| Ubuntu | noble | linux-headers-6.17.0-1026-nvidia-64k | Advisory build | 6.17.0-1026.26 | USN-8508-1 |
| Ubuntu | noble | linux-image-unsigned-6.17.0-1017-aws | Advisory build | 6.17.0-1017.17~24.04.1 | USN-8374-1 |
| Ubuntu | noble | linux-image-unsigned-6.17.0-1017-aws-64k | Advisory build | 6.17.0-1017.17~24.04.1 | USN-8374-1 |
| Ubuntu | noble | linux-image-unsigned-6.17.0-1018-gcp | Advisory build | 6.17.0-1018.19~24.04.1 | USN-8374-1 |
| Ubuntu | noble | linux-image-unsigned-6.17.0-1018-gcp-64k | Advisory build | 6.17.0-1018.19~24.04.1 | USN-8374-1 |
| Ubuntu | noble | linux-image-unsigned-6.17.0-1026-nvidia | Advisory build | 6.17.0-1026.26 | USN-8508-1 |
| Ubuntu | noble | linux-image-unsigned-6.17.0-1026-nvidia-64k | Advisory build | 6.17.0-1026.26 | USN-8508-1 |
| Ubuntu | noble | linux-lib-rust-6.17.0-1018-gcp | Advisory build | 6.17.0-1018.19~24.04.1 | USN-8374-1 |
| Ubuntu | noble | linux-modules-6.17.0-1017-aws | Advisory build | 6.17.0-1017.17~24.04.1 | USN-8374-1 |
| Ubuntu | noble | linux-modules-6.17.0-1017-aws-64k | Advisory build | 6.17.0-1017.17~24.04.1 | USN-8374-1 |
| Ubuntu | noble | linux-modules-6.17.0-1018-gcp | Advisory build | 6.17.0-1018.19~24.04.1 | USN-8374-1 |
| Ubuntu | noble | linux-modules-6.17.0-1018-gcp-64k | Advisory build | 6.17.0-1018.19~24.04.1 | USN-8374-1 |
| Ubuntu | noble | linux-modules-6.17.0-1026-nvidia | Advisory build | 6.17.0-1026.26 | USN-8508-1 |
| Ubuntu | noble | linux-modules-6.17.0-1026-nvidia-64k | Advisory build | 6.17.0-1026.26 | USN-8508-1 |
| Ubuntu | noble | linux-modules-extra-6.17.0-1017-aws | Advisory build | 6.17.0-1017.17~24.04.1 | USN-8374-1 |
| Ubuntu | noble | linux-modules-extra-6.17.0-1017-aws-64k | Advisory build | 6.17.0-1017.17~24.04.1 | USN-8374-1 |
| Ubuntu | noble | linux-modules-extra-6.17.0-1018-gcp | Advisory build | 6.17.0-1018.19~24.04.1 | USN-8374-1 |
| Ubuntu | noble | linux-modules-extra-6.17.0-1018-gcp-64k | Advisory build | 6.17.0-1018.19~24.04.1 | USN-8374-1 |
| Ubuntu | noble | linux-modules-nvidia-fs-6.17.0-1026-nvidia | Advisory build | 6.17.0-1026.26 | USN-8508-1 |
| Ubuntu | noble | linux-modules-nvidia-fs-6.17.0-1026-nvidia-64k | Advisory build | 6.17.0-1026.26 | USN-8508-1 |
| Ubuntu | noble | linux-nvidia-6.17 | Advisory build | 6.17.0-1026.26 | USN-8508-1 |
| Ubuntu | noble | linux-nvidia-6.17-headers-6.17.0-1026 | Advisory build | 6.17.0-1026.26 | USN-8508-1 |
| Ubuntu | noble | linux-nvidia-6.17-tools-6.17.0-1026 | Advisory build | 6.17.0-1026.26 | USN-8508-1 |
| Ubuntu | noble | linux-tools-6.17.0-1017-aws | Advisory build | 6.17.0-1017.17~24.04.1 | USN-8374-1 |
| Ubuntu | noble | linux-tools-6.17.0-1017-aws-64k | Advisory build | 6.17.0-1017.17~24.04.1 | USN-8374-1 |
| Ubuntu | noble | linux-tools-6.17.0-1018-gcp | Advisory build | 6.17.0-1018.19~24.04.1 | USN-8374-1 |
| Ubuntu | noble | linux-tools-6.17.0-1018-gcp-64k | Advisory build | 6.17.0-1018.19~24.04.1 | USN-8374-1 |
| Ubuntu | noble | linux-tools-6.17.0-1026-nvidia | Advisory build | 6.17.0-1026.26 | USN-8508-1 |
| Ubuntu | noble | linux-tools-6.17.0-1026-nvidia-64k | Advisory build | 6.17.0-1026.26 | USN-8508-1 |
| Ubuntu | questing | linux-buildinfo-6.17.0-1018-gcp | Advisory build | 6.17.0-1018.19 | USN-8374-1 |
| Ubuntu | questing | linux-buildinfo-6.17.0-1018-gcp-64k | Advisory build | 6.17.0-1018.19 | USN-8374-1 |
| Ubuntu | questing | linux-gcp | Advisory build | 6.17.0-1018.19 | USN-8374-1 |
| Ubuntu | questing | linux-gcp-headers-6.17.0-1018 | Advisory build | 6.17.0-1018.19 | USN-8374-1 |
| Ubuntu | questing | linux-gcp-tools-6.17.0-1018 | Advisory build | 6.17.0-1018.19 | USN-8374-1 |
| Ubuntu | questing | linux-headers-6.17.0-1018-gcp | Advisory build | 6.17.0-1018.19 | USN-8374-1 |
| Ubuntu | questing | linux-headers-6.17.0-1018-gcp-64k | Advisory build | 6.17.0-1018.19 | USN-8374-1 |
| Ubuntu | questing | linux-image-unsigned-6.17.0-1018-gcp | Advisory build | 6.17.0-1018.19 | USN-8374-1 |
| Ubuntu | questing | linux-image-unsigned-6.17.0-1018-gcp-64k | Advisory build | 6.17.0-1018.19 | USN-8374-1 |
| Ubuntu | questing | linux-modules-6.17.0-1018-gcp | Advisory build | 6.17.0-1018.19 | USN-8374-1 |
| Ubuntu | questing | linux-modules-6.17.0-1018-gcp-64k | Advisory build | 6.17.0-1018.19 | USN-8374-1 |
| Ubuntu | questing | linux-tools-6.17.0-1018-gcp | Advisory build | 6.17.0-1018.19 | USN-8374-1 |
| Ubuntu | questing | linux-tools-6.17.0-1018-gcp-64k | Advisory build | 6.17.0-1018.19 | USN-8374-1 |
Description
In the Linux kernel, the following vulnerability has been resolved: apparmor: fix NULL pointer dereference in __unix_needs_revalidation When receiving file descriptors via SCM_RIGHTS, both the socket pointer and the socket's sk pointer can be NULL during socket setup or teardown, causing NULL pointer dereferences in __unix_needs_revalidation(). This is a regression in AppArmor 5.0.0 (kernel 6.17+) where the new __unix_needs_revalidation() function was added without proper NULL checks. The crash manifests as: BUG: kernel NULL pointer dereference, address: 0x0000000000000018 RIP: aa_file_perm+0xb7/0x3b0 (or +0xbe/0x3b0, +0xc0/0x3e0) Call Trace: apparmor_file_receive+0x42/0x80 security_file_receive+0x2e/0x50 receive_fd+0x1d/0xf0 scm_detach_fds+0xad/0x1c0 The function dereferences sock->sk->sk_family without checking if either sock or sock->sk is NULL first. Add NULL checks for both sock and sock->sk before accessing sk_family.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 88fec3526e84123997ecebd6bb6778eb4ce779b7 to < fea017a7f6abe179decf575a2d8464c74edb3964 (affected · git)88fec3526e84123997ecebd6bb6778eb4ce779b7 to < e85bc9101afc4202aa2269967ce9d3ffbecd0994 (affected · git)88fec3526e84123997ecebd6bb6778eb4ce779b7 to < e2938ad00b21340c0362562dfedd7cfec0554d67 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.17 (affected)0 to < 6.17 (unaffected · semver)6.18.14 through 6.18.* (unaffected · semver)6.19.4 through 6.19.* (unaffected · semver)7.0 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
3Provider assertions
1Linux · cna
apparmor: fix NULL pointer dereference in __unix_needs_revalidation
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 91ab4d3dc92563b42f2e06e609763e1b7bc7bc3dc62b4e71d29679335f908c59
- Ingested
- 23 Sep 2026, 09:15:56 UTC
- Source record
- Official CVE record