# CVE-2026-45848: apparmor: fix NULL sock in aa\_sock\_file\_perm

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.16% (percentile 3, 2026-11-26)
- **CWE:** CWE-476
- **Published:** 2026-05-27T12:15:12.310Z
- **Modified:** 2026-06-25T21:03:46.037Z

## Who should check

- Anyone running Linux \>= 56974a6fcfef69ee0825bd66ed13e92070ac5224, \< 68538ec34fcb4194c7961dc4eca6f5537fec8067; \>= 56974a6fcfef69ee0825bd66ed13e92070ac5224, \< 5121b7283f1c46e4c06b88b1dda7b064429d77de; \>= 56974a6fcfef69ee0825bd66ed13e92070ac5224, \< c11b7c3280d000376e27ebfed17ec7046699eab4; \>= 56974a6fcfef69ee0825bd66ed13e92070ac5224, \< 0dc19bca22606f7a61d5988408f74e3ae0ef3486; \>= 56974a6fcfef69ee0825bd66ed13e92070ac5224, \< 3852eb9a0392eb435c03dcb47d581bcfe6a9a95b; \>= 56974a6fcfef69ee0825bd66ed13e92070ac5224, \< ccb66a3c6c8f51b3ed1bc003b70bb9ff99e8d835; \>= 56974a6fcfef69ee0825bd66ed13e92070ac5224, \< 8a0ededbfcff74598f82f1d4b8ef9db28878b317; \>= 56974a6fcfef69ee0825bd66ed13e92070ac5224, \< 00b67657535dfea56e84d11492f5c0f61d0af297
- Anyone running Linux 4.17

## Description

In the Linux kernel, the following vulnerability has been resolved:

apparmor: fix NULL sock in aa\_sock\_file\_perm

Deal with the potential that sock and sock-sk can be NULL during
socket setup or teardown. This could lead to an oops. The fix for NULL
pointer dereference in \_\_unix\_needs\_revalidation shows this is at
least possible for af\_unix sockets. While the fix for af\_unix sockets
applies for newer mediation this is still the fall back path for older
af\_unix mediation and other sockets, so ensure it is covered.

## Affected and fixed versions

- Linux: \>= 56974a6fcfef69ee0825bd66ed13e92070ac5224, \< 68538ec34fcb4194c7961dc4eca6f5537fec8067; \>= 56974a6fcfef69ee0825bd66ed13e92070ac5224, \< 5121b7283f1c46e4c06b88b1dda7b064429d77de; \>= 56974a6fcfef69ee0825bd66ed13e92070ac5224, \< c11b7c3280d000376e27ebfed17ec7046699eab4; \>= 56974a6fcfef69ee0825bd66ed13e92070ac5224, \< 0dc19bca22606f7a61d5988408f74e3ae0ef3486; \>= 56974a6fcfef69ee0825bd66ed13e92070ac5224, \< 3852eb9a0392eb435c03dcb47d581bcfe6a9a95b; \>= 56974a6fcfef69ee0825bd66ed13e92070ac5224, \< ccb66a3c6c8f51b3ed1bc003b70bb9ff99e8d835; \>= 56974a6fcfef69ee0825bd66ed13e92070ac5224, \< 8a0ededbfcff74598f82f1d4b8ef9db28878b317; \>= 56974a6fcfef69ee0825bd66ed13e92070ac5224, \< 00b67657535dfea56e84d11492f5c0f61d0af297 (cvelist)
- Linux: 4.17 (cvelist)

## Mitigation

- Upgrade Linux to 00b67657535dfea56e84d11492f5c0f61d0af297 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-45848. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-45848.md
Affected: Linux >= 56974a6fcfef69ee0825bd66ed13e92070ac5224, < 68538ec34fcb4194c7961dc4eca6f5537fec8067; >= 56974a6fcfef69ee0825bd66ed13e92070ac5224, < 5121b7283f1c46e4c06b88b1dda7b064429d77de; >= 56974a6fcfef69ee0825bd66ed13e92070ac5224, < c11b7c3280d000376e27ebfed17ec7046699eab4; >= 56974a6fcfef69ee0825bd6…
Fixed in: Linux 68538ec34fcb4194c7961dc4eca6f5537fec8067, Linux 5121b7283f1c46e4c06b88b1dda7b064429d77de, Linux 0dc19bca22606f7a61d5988408f74e3ae0ef3486, Linux 3852eb9a0392eb435c03dcb47d581bcfe6a9a95b, Linux 8a0ededbfcff74598f82f1d4b8ef9db28878b317, Linux 00b67657535dfea56e84d11492f5c0f61d0af297

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-45848 being exploited?

There is no confirmed exploitation: CVE-2026-45848 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.16% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-45848?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-45848?

Linux \>= 56974a6fcfef69ee0825bd66ed13e92070ac5224, \< 68538ec34fcb4194c7961dc4eca6f5537fec8067; \>= 56974a6fcfef69ee0825bd66ed13e92070ac5224, \< 5121b7283f1c46e4c06b88b1dda7b064429d77de; \>= 56974a6fcfef69ee0825bd66ed13e92070ac5224, \< c11b7c3280d000376e27ebfed17ec7046699eab4; \>= 56974a6fcfef69ee0825bd66ed13e92070ac5224, \< 0dc19bca22606f7a61d5988408f74e3ae0ef3486; \>= 56974a6fcfef69ee0825bd66ed13e92070ac5224, \< 3852eb9a0392eb435c03dcb47d581bcfe6a9a95b; \>= 56974a6fcfef69ee0825bd66ed13e92070ac5224, \< ccb66a3c6c8f51b3ed1bc003b70bb9ff99e8d835; \>= 56974a6fcfef69ee0825bd66ed13e92070ac5224, \< 8a0ededbfcff74598f82f1d4b8ef9db28878b317; \>= 56974a6fcfef69ee0825bd66ed13e92070ac5224, \< 00b67657535dfea56e84d11492f5c0f61d0af297; Linux 4.17.

### Is there a fix for CVE-2026-45848?

Yes. Fixed in Linux 68538ec34fcb4194c7961dc4eca6f5537fec8067, Linux 5121b7283f1c46e4c06b88b1dda7b064429d77de, Linux 0dc19bca22606f7a61d5988408f74e3ae0ef3486, Linux 3852eb9a0392eb435c03dcb47d581bcfe6a9a95b, Linux 8a0ededbfcff74598f82f1d4b8ef9db28878b317, Linux 00b67657535dfea56e84d11492f5c0f61d0af297. Upgrade Linux to 00b67657535dfea56e84d11492f5c0f61d0af297 or later.

### How do I check if I'm affected by CVE-2026-45848?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/68538ec34fcb4194c7961dc4eca6f5537fec8067>
- patch: <https://git.kernel.org/stable/c/5121b7283f1c46e4c06b88b1dda7b064429d77de>
- patch: <https://git.kernel.org/stable/c/c11b7c3280d000376e27ebfed17ec7046699eab4>
- patch: <https://git.kernel.org/stable/c/0dc19bca22606f7a61d5988408f74e3ae0ef3486>
- patch: <https://git.kernel.org/stable/c/3852eb9a0392eb435c03dcb47d581bcfe6a9a95b>
- patch: <https://git.kernel.org/stable/c/ccb66a3c6c8f51b3ed1bc003b70bb9ff99e8d835>
- patch: <https://git.kernel.org/stable/c/8a0ededbfcff74598f82f1d4b8ef9db28878b317>
- patch: <https://git.kernel.org/stable/c/00b67657535dfea56e84d11492f5c0f61d0af297>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-45848>

HTML: <https://flawdb.com/CVE-2026-45848> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-45848>
