Lucene search

K
cvelistLinuxCVELIST:CVE-2024-26606
HistoryFeb 26, 2024 - 2:39 p.m.

CVE-2024-26606 binder: signal epoll threads of self-work

2024-02-2614:39:15
Linux
www.cve.org
linux kernel
vulnerability
binder
signal
epoll threads
i/o events
epoll_wait
command
binder_write_read
wakeup

6.6 Medium

AI Score

Confidence

High

0.0004 Low

EPSS

Percentile

5.1%

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

binder: signal epoll threads of self-work

In (e)poll mode, threads often depend on I/O events to determine when
data is ready for consumption. Within binder, a thread may initiate a
command via BINDER_WRITE_READ without a read buffer and then make use
of epoll_wait() or similar to consume any responses afterwards.

It is then crucial that epoll threads are signaled via wakeup when they
queue their own work. Otherwise, they risk waiting indefinitely for an
event leaving their work unhandled. What is worse, subsequent commands
won’t trigger a wakeup either as the thread has pending work.

CNA Affected

[
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "unaffected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "drivers/android/binder.c"
    ],
    "versions": [
      {
        "version": "457b9a6f09f0",
        "lessThan": "dd64bb8329ce",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "457b9a6f09f0",
        "lessThan": "42beab162dce",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "457b9a6f09f0",
        "lessThan": "a423042052ec",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "457b9a6f09f0",
        "lessThan": "82722b453dc2",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "457b9a6f09f0",
        "lessThan": "90e09c016d72",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "457b9a6f09f0",
        "lessThan": "a7ae586f6f60",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "457b9a6f09f0",
        "lessThan": "93b372c39c40",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "457b9a6f09f0",
        "lessThan": "97830f3c3088",
        "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/android/binder.c"
    ],
    "versions": [
      {
        "version": "2.6.29",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "2.6.29",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "4.19.307",
        "lessThanOrEqual": "4.19.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.4.269",
        "lessThanOrEqual": "5.4.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.10.210",
        "lessThanOrEqual": "5.10.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.15.149",
        "lessThanOrEqual": "5.15.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.1.79",
        "lessThanOrEqual": "6.1.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.6.18",
        "lessThanOrEqual": "6.6.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.7.6",
        "lessThanOrEqual": "6.7.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.8",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]

6.6 Medium

AI Score

Confidence

High

0.0004 Low

EPSS

Percentile

5.1%