Lucene search

K
cvelistLinuxCVELIST:CVE-2024-27393
HistoryMay 09, 2024 - 4:37 p.m.

CVE-2024-27393 xen-netfront: Add missing skb_mark_for_recycle

2024-05-0916:37:07
Linux
www.cve.org
linux kernel
xen-netfront
vulnerability
resolved
skb_mark_for_recycle
page_pool_release_page
memory leaks

9.3 High

AI Score

Confidence

High

0.0004 Low

EPSS

Percentile

10.4%

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

xen-netfront: Add missing skb_mark_for_recycle

Notice that skb_mark_for_recycle() is introduced later than fixes tag in
commit 6a5bcd84e886 (“page_pool: Allow drivers to hint on SKB recycling”).

It is believed that fixes tag were missing a call to page_pool_release_page()
between v5.9 to v5.14, after which is should have used skb_mark_for_recycle().
Since v6.6 the call page_pool_release_page() were removed (in
commit 535b9c61bdef (“net: page_pool: hide page_pool_release_page()”)
and remaining callers converted (in commit 6bfef2ec0172 (“Merge branch
‘net-page_pool-remove-page_pool_release_page’”)).

This leak became visible in v6.8 via commit dba1b8a7ab68 (“mm/page_pool: catch
page_pool memory leaks”).

CNA Affected

[
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "unaffected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "drivers/net/xen-netfront.c"
    ],
    "versions": [
      {
        "version": "6c5aa6fc4def",
        "lessThan": "4143b9479caa",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "6c5aa6fc4def",
        "lessThan": "7c1250796b6c",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "6c5aa6fc4def",
        "lessThan": "27aa3e4b3088",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "6c5aa6fc4def",
        "lessThan": "c8b7b2f158d9",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "6c5aa6fc4def",
        "lessThan": "037965402a01",
        "status": "affected",
        "versionType": "git"
      }
    ]
  },
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "affected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "drivers/net/xen-netfront.c"
    ],
    "versions": [
      {
        "version": "5.9",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "5.9",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.15.154",
        "lessThanOrEqual": "5.15.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.1.85",
        "lessThanOrEqual": "6.1.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.6.26",
        "lessThanOrEqual": "6.6.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.8.5",
        "lessThanOrEqual": "6.8.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.9",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]

9.3 High

AI Score

Confidence

High

0.0004 Low

EPSS

Percentile

10.4%