Lucene search

K
cve416baaa9-dc9f-4396-8d5f-8c081fb06d67CVE-2024-38553
HistoryJun 19, 2024 - 2:15 p.m.

CVE-2024-38553

2024-06-1914:15:15
416baaa9-dc9f-4396-8d5f-8c081fb06d67
web.nvd.nist.gov
20
linux kernel
vulnerability
cve-2024-38553
deadlock issue
net: fec
sungem driver

6.4 Medium

AI Score

Confidence

Low

0.0004 Low

EPSS

Percentile

15.7%

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

net: fec: remove .ndo_poll_controller to avoid deadlocks

There is a deadlock issue found in sungem driver, please refer to the
commit ac0a230f719b (“eth: sungem: remove .ndo_poll_controller to avoid
deadlocks”). The root cause of the issue is that netpoll is in atomic
context and disable_irq() is called by .ndo_poll_controller interface
of sungem driver, however, disable_irq() might sleep. After analyzing
the implementation of fec_poll_controller(), the fec driver should have
the same issue. Due to the fec driver uses NAPI for TX completions, the
.ndo_poll_controller is unnecessary to be implemented in the fec driver,
so fec_poll_controller() can be safely removed.

Affected configurations

Vulners
Node
linuxlinux_kernelRange3.26.6.33
OR
linuxlinux_kernelRange6.7.06.8.12
OR
linuxlinux_kernelRange6.9.06.9.3
OR
linuxlinux_kernelRange6.10.06.10-rc1

CNA Affected

[
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "unaffected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "drivers/net/ethernet/freescale/fec_main.c"
    ],
    "versions": [
      {
        "version": "7f5c6addcdc0",
        "lessThan": "d38625f71950",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "7f5c6addcdc0",
        "lessThan": "accdd6b912c4",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "7f5c6addcdc0",
        "lessThan": "87bcbc9b7e0b",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "7f5c6addcdc0",
        "lessThan": "c2e0c58b25a0",
        "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/ethernet/freescale/fec_main.c"
    ],
    "versions": [
      {
        "version": "3.2",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "3.2",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.6.33",
        "lessThanOrEqual": "6.6.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.8.12",
        "lessThanOrEqual": "6.8.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.9.3",
        "lessThanOrEqual": "6.9.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.10-rc1",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]

6.4 Medium

AI Score

Confidence

Low

0.0004 Low

EPSS

Percentile

15.7%