Lucene search

K
cveLinuxCVE-2024-26739
HistoryApr 03, 2024 - 5:15 p.m.

CVE-2024-26739

2024-04-0317:15:51
Linux
web.nvd.nist.gov
33
linux kernel
vulnerability
resolution
net/sched
act_mirred
skb
tcf_mirred_forward
uaf
nvd

AI Score

6.3

Confidence

Low

EPSS

0

Percentile

15.5%

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

net/sched: act_mirred: don’t override retval if we already lost the skb

If we’re redirecting the skb, and haven’t called tcf_mirred_forward(),
yet, we need to tell the core to drop the skb by setting the retcode
to SHOT. If we have called tcf_mirred_forward(), however, the skb
is out of our hands and returning SHOT will lead to UaF.

Move the retval override to the error path which actually need it.

Affected configurations

Vulners
Node
linuxlinux_kernelRange4.196.6.19
OR
linuxlinux_kernelRange6.7.06.7.7
OR
linuxlinux_kernelRange6.8.0
VendorProductVersionCPE
linuxlinux_kernel*cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*

CNA Affected

[
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "unaffected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "net/sched/act_mirred.c"
    ],
    "versions": [
      {
        "version": "e5cf1baf92cb",
        "lessThan": "28cdbbd38a44",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "e5cf1baf92cb",
        "lessThan": "f4e294bbdca8",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "e5cf1baf92cb",
        "lessThan": "166c2c8a6a4d",
        "status": "affected",
        "versionType": "git"
      }
    ]
  },
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "affected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "net/sched/act_mirred.c"
    ],
    "versions": [
      {
        "version": "4.19",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "4.19",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.6.19",
        "lessThanOrEqual": "6.6.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.7.7",
        "lessThanOrEqual": "6.7.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.8",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]

AI Score

6.3

Confidence

Low

EPSS

0

Percentile

15.5%