CVE-2026-45848 (GCVE-0-2026-45848)

Vulnerability from cvelistv5 – Published: 2026-05-27 12:15 – Updated: 2026-05-27 12:15
VLAI
Title
apparmor: fix NULL sock in aa_sock_file_perm
Summary
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.
Severity
No CVSS data available.
Assigner
Impacted products
Vendor Product Version
Linux Linux Affected: 56974a6fcfef69ee0825bd66ed13e92070ac5224 , < 68538ec34fcb4194c7961dc4eca6f5537fec8067 (git)
Affected: 56974a6fcfef69ee0825bd66ed13e92070ac5224 , < 5121b7283f1c46e4c06b88b1dda7b064429d77de (git)
Affected: 56974a6fcfef69ee0825bd66ed13e92070ac5224 , < c11b7c3280d000376e27ebfed17ec7046699eab4 (git)
Affected: 56974a6fcfef69ee0825bd66ed13e92070ac5224 , < 0dc19bca22606f7a61d5988408f74e3ae0ef3486 (git)
Affected: 56974a6fcfef69ee0825bd66ed13e92070ac5224 , < 3852eb9a0392eb435c03dcb47d581bcfe6a9a95b (git)
Affected: 56974a6fcfef69ee0825bd66ed13e92070ac5224 , < ccb66a3c6c8f51b3ed1bc003b70bb9ff99e8d835 (git)
Affected: 56974a6fcfef69ee0825bd66ed13e92070ac5224 , < 8a0ededbfcff74598f82f1d4b8ef9db28878b317 (git)
Affected: 56974a6fcfef69ee0825bd66ed13e92070ac5224 , < 00b67657535dfea56e84d11492f5c0f61d0af297 (git)
Create a notification for this product.
Linux Linux Affected: 4.17
Unaffected: 0 , < 4.17 (semver)
Unaffected: 5.10.252 , ≤ 5.10.* (semver)
Unaffected: 5.15.202 , ≤ 5.15.* (semver)
Unaffected: 6.1.165 , ≤ 6.1.* (semver)
Unaffected: 6.6.128 , ≤ 6.6.* (semver)
Unaffected: 6.12.75 , ≤ 6.12.* (semver)
Unaffected: 6.18.14 , ≤ 6.18.* (semver)
Unaffected: 6.19.4 , ≤ 6.19.* (semver)
Unaffected: 7.0 , ≤ * (original_commit_for_fix)
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "security/apparmor/net.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "68538ec34fcb4194c7961dc4eca6f5537fec8067",
              "status": "affected",
              "version": "56974a6fcfef69ee0825bd66ed13e92070ac5224",
              "versionType": "git"
            },
            {
              "lessThan": "5121b7283f1c46e4c06b88b1dda7b064429d77de",
              "status": "affected",
              "version": "56974a6fcfef69ee0825bd66ed13e92070ac5224",
              "versionType": "git"
            },
            {
              "lessThan": "c11b7c3280d000376e27ebfed17ec7046699eab4",
              "status": "affected",
              "version": "56974a6fcfef69ee0825bd66ed13e92070ac5224",
              "versionType": "git"
            },
            {
              "lessThan": "0dc19bca22606f7a61d5988408f74e3ae0ef3486",
              "status": "affected",
              "version": "56974a6fcfef69ee0825bd66ed13e92070ac5224",
              "versionType": "git"
            },
            {
              "lessThan": "3852eb9a0392eb435c03dcb47d581bcfe6a9a95b",
              "status": "affected",
              "version": "56974a6fcfef69ee0825bd66ed13e92070ac5224",
              "versionType": "git"
            },
            {
              "lessThan": "ccb66a3c6c8f51b3ed1bc003b70bb9ff99e8d835",
              "status": "affected",
              "version": "56974a6fcfef69ee0825bd66ed13e92070ac5224",
              "versionType": "git"
            },
            {
              "lessThan": "8a0ededbfcff74598f82f1d4b8ef9db28878b317",
              "status": "affected",
              "version": "56974a6fcfef69ee0825bd66ed13e92070ac5224",
              "versionType": "git"
            },
            {
              "lessThan": "00b67657535dfea56e84d11492f5c0f61d0af297",
              "status": "affected",
              "version": "56974a6fcfef69ee0825bd66ed13e92070ac5224",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "security/apparmor/net.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "4.17"
            },
            {
              "lessThan": "4.17",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.252",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.202",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.165",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.128",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.75",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.14",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.19.*",
              "status": "unaffected",
              "version": "6.19.4",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.0",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.252",
                  "versionStartIncluding": "4.17",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.202",
                  "versionStartIncluding": "4.17",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.165",
                  "versionStartIncluding": "4.17",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.128",
                  "versionStartIncluding": "4.17",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.75",
                  "versionStartIncluding": "4.17",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.14",
                  "versionStartIncluding": "4.17",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.19.4",
                  "versionStartIncluding": "4.17",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.0",
                  "versionStartIncluding": "4.17",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "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."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-05-27T12:15:12.310Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/68538ec34fcb4194c7961dc4eca6f5537fec8067"
        },
        {
          "url": "https://git.kernel.org/stable/c/5121b7283f1c46e4c06b88b1dda7b064429d77de"
        },
        {
          "url": "https://git.kernel.org/stable/c/c11b7c3280d000376e27ebfed17ec7046699eab4"
        },
        {
          "url": "https://git.kernel.org/stable/c/0dc19bca22606f7a61d5988408f74e3ae0ef3486"
        },
        {
          "url": "https://git.kernel.org/stable/c/3852eb9a0392eb435c03dcb47d581bcfe6a9a95b"
        },
        {
          "url": "https://git.kernel.org/stable/c/ccb66a3c6c8f51b3ed1bc003b70bb9ff99e8d835"
        },
        {
          "url": "https://git.kernel.org/stable/c/8a0ededbfcff74598f82f1d4b8ef9db28878b317"
        },
        {
          "url": "https://git.kernel.org/stable/c/00b67657535dfea56e84d11492f5c0f61d0af297"
        }
      ],
      "title": "apparmor: fix NULL sock in aa_sock_file_perm",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-45848",
    "datePublished": "2026-05-27T12:15:12.310Z",
    "dateReserved": "2026-05-13T15:03:33.078Z",
    "dateUpdated": "2026-05-27T12:15:12.310Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-45848",
      "date": "2026-05-29",
      "epss": "0.00024",
      "percentile": "0.07393"
    },
    "nvd": "{\"cve\":{\"id\":\"CVE-2026-45848\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2026-05-27T14:16:56.700\",\"lastModified\":\"2026-05-27T14:48:31.480\",\"vulnStatus\":\"Awaiting Analysis\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"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.\"}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/00b67657535dfea56e84d11492f5c0f61d0af297\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/0dc19bca22606f7a61d5988408f74e3ae0ef3486\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/3852eb9a0392eb435c03dcb47d581bcfe6a9a95b\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/5121b7283f1c46e4c06b88b1dda7b064429d77de\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/68538ec34fcb4194c7961dc4eca6f5537fec8067\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/8a0ededbfcff74598f82f1d4b8ef9db28878b317\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/c11b7c3280d000376e27ebfed17ec7046699eab4\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/ccb66a3c6c8f51b3ed1bc003b70bb9ff99e8d835\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}"
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…