Lucene search

K
cvelistLinuxCVELIST:CVE-2024-39292
HistoryJun 24, 2024 - 1:52 p.m.

CVE-2024-39292 um: Add winch to winch_handlers before registering winch IRQ

2024-06-2413:52:26
Linux
www.cve.org
4
linux kernel
vulnerability
cve-2024-39292
winch_handlers
irq
um_request_irq
race

0.0004 Low

EPSS

Percentile

5.1%

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

um: Add winch to winch_handlers before registering winch IRQ

Registering a winch IRQ is racy, an interrupt may occur before the winch is
added to the winch_handlers list.

If that happens, register_winch_irq() adds to that list a winch that is
scheduled to be (or has already been) freed, causing a panic later in
winch_cleanup().

Avoid the race by adding the winch to the winch_handlers list before
registering the IRQ, and rolling back if um_request_irq() fails.

CNA Affected

[
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "unaffected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "arch/um/drivers/line.c"
    ],
    "versions": [
      {
        "version": "42a359e31a0e",
        "lessThan": "66ea9a7c6824",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "42a359e31a0e",
        "lessThan": "dc1ff95602ee",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "42a359e31a0e",
        "lessThan": "351d1a645449",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "42a359e31a0e",
        "lessThan": "31960d991e43",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "42a359e31a0e",
        "lessThan": "0c02d425a2fb",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "42a359e31a0e",
        "lessThan": "434a06c38ee1",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "42a359e31a0e",
        "lessThan": "73b8e21f76c7",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "42a359e31a0e",
        "lessThan": "a0fbbd36c156",
        "status": "affected",
        "versionType": "git"
      }
    ]
  },
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "affected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "arch/um/drivers/line.c"
    ],
    "versions": [
      {
        "version": "2.6.23",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "2.6.23",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "4.19.316",
        "lessThanOrEqual": "4.19.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.4.278",
        "lessThanOrEqual": "5.4.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.10.219",
        "lessThanOrEqual": "5.10.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.15.161",
        "lessThanOrEqual": "5.15.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.1.93",
        "lessThanOrEqual": "6.1.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.6.33",
        "lessThanOrEqual": "6.6.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.9.4",
        "lessThanOrEqual": "6.9.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.10-rc1",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]

0.0004 Low

EPSS

Percentile

5.1%