{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "56974a6fcfef69ee0825bd66ed13e92070ac5224"
            },
            {
              "fixed": "68538ec34fcb4194c7961dc4eca6f5537fec8067"
            },
            {
              "fixed": "5121b7283f1c46e4c06b88b1dda7b064429d77de"
            },
            {
              "fixed": "c11b7c3280d000376e27ebfed17ec7046699eab4"
            },
            {
              "fixed": "0dc19bca22606f7a61d5988408f74e3ae0ef3486"
            },
            {
              "fixed": "3852eb9a0392eb435c03dcb47d581bcfe6a9a95b"
            },
            {
              "fixed": "ccb66a3c6c8f51b3ed1bc003b70bb9ff99e8d835"
            },
            {
              "fixed": "8a0ededbfcff74598f82f1d4b8ef9db28878b317"
            },
            {
              "fixed": "00b67657535dfea56e84d11492f5c0f61d0af297"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "4.17.0"
            },
            {
              "fixed": "5.10.252"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.11.0"
            },
            {
              "fixed": "5.15.202"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.16.0"
            },
            {
              "fixed": "6.1.165"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.2.0"
            },
            {
              "fixed": "6.6.128"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.7.0"
            },
            {
              "fixed": "6.12.75"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "6.18.14"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "6.19.4"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/45xxx/CVE-2026-45848.json"
  },
  "details": "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.",
  "id": "CVE-2026-45848",
  "modified": "2026-07-08T05:37:40.652488937Z",
  "published": "2026-05-27T12:15:12.310Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/00b67657535dfea56e84d11492f5c0f61d0af297"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/0dc19bca22606f7a61d5988408f74e3ae0ef3486"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/3852eb9a0392eb435c03dcb47d581bcfe6a9a95b"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/5121b7283f1c46e4c06b88b1dda7b064429d77de"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/68538ec34fcb4194c7961dc4eca6f5537fec8067"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/8a0ededbfcff74598f82f1d4b8ef9db28878b317"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/c11b7c3280d000376e27ebfed17ec7046699eab4"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/ccb66a3c6c8f51b3ed1bc003b70bb9ff99e8d835"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/45xxx/CVE-2026-45848.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-45848"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.7.5",
  "summary": "apparmor: fix NULL sock in aa_sock_file_perm"
}