PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-45848 Linux CVE debrief

A NULL pointer dereference vulnerability exists in the Linux kernel's AppArmor security module, specifically within the `aa_sock_file_perm` function. The flaw occurs during socket setup or teardown when either `sock` or `sock->sk` can be NULL, potentially leading to a kernel oops (crash). This affects af_unix sockets and potentially other socket types. The vulnerability represents a fallback path for older af_unix mediation and other sockets, making it a concern even where newer mediation fixes exist. The issue was resolved by adding proper NULL checks in the affected function.

Vendor
Linux
Product
Unknown
CVSS
MEDIUM 5.5
CISA KEV
Not listed in stored evidence
Original CVE published
2026-05-27
Original CVE updated
2026-06-25
Advisory published
2026-05-27
Advisory updated
2026-06-25

Who should care

Linux system administrators running kernels with AppArmor enabled, particularly those hosting multi-tenant environments, containers, or systems with untrusted local users where kernel stability is critical.

Technical summary

The vulnerability exists in `aa_sock_file_perm()` in the Linux kernel's AppArmor LSM. During socket lifecycle operations, the function may encounter NULL `sock` or `sock->sk` pointers, leading to a NULL pointer dereference and kernel oops. This is particularly relevant for af_unix sockets during setup/teardown phases. The fix adds defensive NULL checks before dereferencing these pointers. Multiple stable kernel branches have received backports of this fix.

Defensive priority

high

Recommended defensive actions

  • Apply kernel updates containing the referenced stable commits for affected kernel versions
  • Review AppArmor policies on systems where kernel updates cannot be immediately applied
  • Monitor kernel logs for oops messages related to AppArmor socket operations
  • Prioritize patching on systems with untrusted local users or container workloads using AppArmor confinement

Evidence notes

The vulnerability description indicates this is a NULL pointer dereference in AppArmor's socket permission handling. Multiple stable kernel commits are referenced, suggesting backports to various kernel versions. The fix addresses a gap where socket structures may be incompletely initialized or partially torn down during permission checks.

Sources and references

Verified primary and authoritative sources

  • CVE-2026-45848 CVE Program record

    Publisher, destination, and source semantics verified

    URL: https://www.cve.org/CVERecord?id=CVE-2026-45848

    CVE Program - Official CVE Program record with source-provided CVE metadata.

  • CVE-2026-45848 NVD vulnerability detail

    Publisher, destination, and source semantics verified

    URL: https://nvd.nist.gov/vuln/detail/CVE-2026-45848

    NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.

Supplemental references

  • Source reference

    Unverified legacy reference

    URL: https://git.kernel.org/stable/c/00b67657535dfea56e84d11492f5c0f61d0af297

    416baaa9-dc9f-4396-8d5f-8c081fb06d67

  • Source reference

    Unverified legacy reference

    URL: https://git.kernel.org/stable/c/0dc19bca22606f7a61d5988408f74e3ae0ef3486

    416baaa9-dc9f-4396-8d5f-8c081fb06d67

  • Source reference

    Unverified legacy reference

    URL: https://git.kernel.org/stable/c/3852eb9a0392eb435c03dcb47d581bcfe6a9a95b

    416baaa9-dc9f-4396-8d5f-8c081fb06d67

  • Source reference

    Unverified legacy reference

    URL: https://git.kernel.org/stable/c/5121b7283f1c46e4c06b88b1dda7b064429d77de

    416baaa9-dc9f-4396-8d5f-8c081fb06d67

  • Source reference

    Unverified legacy reference

    URL: https://git.kernel.org/stable/c/68538ec34fcb4194c7961dc4eca6f5537fec8067

    416baaa9-dc9f-4396-8d5f-8c081fb06d67

  • Source reference

    Unverified legacy reference

    URL: https://git.kernel.org/stable/c/8a0ededbfcff74598f82f1d4b8ef9db28878b317

    416baaa9-dc9f-4396-8d5f-8c081fb06d67

  • Source reference

    Unverified legacy reference

    URL: https://git.kernel.org/stable/c/c11b7c3280d000376e27ebfed17ec7046699eab4

    416baaa9-dc9f-4396-8d5f-8c081fb06d67

Methodology and review provenance

AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.