cve-2025-21655
Vulnerability from cvelistv5
Published
2025-01-20 13:48
Modified
2025-02-23 07:15
Severity ?
EPSS score ?
0.04%
(0.10323)
Summary
In the Linux kernel, the following vulnerability has been resolved:
io_uring/eventfd: ensure io_eventfd_signal() defers another RCU period
io_eventfd_do_signal() is invoked from an RCU callback, but when
dropping the reference to the io_ev_fd, it calls io_eventfd_free()
directly if the refcount drops to zero. This isn't correct, as any
potential freeing of the io_ev_fd should be deferred another RCU grace
period.
Just call io_eventfd_put() rather than open-code the dec-and-test and
free, which will correctly defer it another RCU grace period.
References
Impacted products
{ containers: { cna: { affected: [ { defaultStatus: "unaffected", product: "Linux", programFiles: [ "io_uring/eventfd.c", ], repo: "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git", vendor: "Linux", versions: [ { lessThan: "6b63308c28987c6010b1180c72a6db4df6c68033", status: "affected", version: "21a091b970cdbcf3e8ff829234b51be6f9192766", versionType: "git", }, { lessThan: "8efff2aa2d95dc437ab67c5b4a9f1d3f367baa10", status: "affected", version: "21a091b970cdbcf3e8ff829234b51be6f9192766", versionType: "git", }, { lessThan: "a7085c3ae43b86d4b3d1b8275e6a67f14257e3b7", status: "affected", version: "21a091b970cdbcf3e8ff829234b51be6f9192766", versionType: "git", }, { lessThan: "c9a40292a44e78f71258b8522655bffaf5753bdb", status: "affected", version: "21a091b970cdbcf3e8ff829234b51be6f9192766", versionType: "git", }, ], }, { defaultStatus: "affected", product: "Linux", programFiles: [ "io_uring/eventfd.c", ], repo: "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git", vendor: "Linux", versions: [ { status: "affected", version: "6.1", }, { lessThan: "6.1", status: "unaffected", version: "0", versionType: "semver", }, { lessThanOrEqual: "6.1.*", status: "unaffected", version: "6.1.125", versionType: "semver", }, { lessThanOrEqual: "6.6.*", status: "unaffected", version: "6.6.72", versionType: "semver", }, { lessThanOrEqual: "6.12.*", status: "unaffected", version: "6.12.10", versionType: "semver", }, { lessThanOrEqual: "*", status: "unaffected", version: "6.13", versionType: "original_commit_for_fix", }, ], }, ], descriptions: [ { lang: "en", value: "In the Linux kernel, the following vulnerability has been resolved:\n\nio_uring/eventfd: ensure io_eventfd_signal() defers another RCU period\n\nio_eventfd_do_signal() is invoked from an RCU callback, but when\ndropping the reference to the io_ev_fd, it calls io_eventfd_free()\ndirectly if the refcount drops to zero. This isn't correct, as any\npotential freeing of the io_ev_fd should be deferred another RCU grace\nperiod.\n\nJust call io_eventfd_put() rather than open-code the dec-and-test and\nfree, which will correctly defer it another RCU grace period.", }, ], providerMetadata: { dateUpdated: "2025-02-23T07:15:02.767Z", orgId: "416baaa9-dc9f-4396-8d5f-8c081fb06d67", shortName: "Linux", }, references: [ { url: "https://git.kernel.org/stable/c/6b63308c28987c6010b1180c72a6db4df6c68033", }, { url: "https://git.kernel.org/stable/c/8efff2aa2d95dc437ab67c5b4a9f1d3f367baa10", }, { url: "https://git.kernel.org/stable/c/a7085c3ae43b86d4b3d1b8275e6a67f14257e3b7", }, { url: "https://git.kernel.org/stable/c/c9a40292a44e78f71258b8522655bffaf5753bdb", }, { url: "https://project-zero.issues.chromium.org/issues/388499293", }, ], title: "io_uring/eventfd: ensure io_eventfd_signal() defers another RCU period", x_generator: { engine: "bippy-5f407fcff5a0", }, }, }, cveMetadata: { assignerOrgId: "416baaa9-dc9f-4396-8d5f-8c081fb06d67", assignerShortName: "Linux", cveId: "CVE-2025-21655", datePublished: "2025-01-20T13:48:40.544Z", dateReserved: "2024-12-29T08:45:45.729Z", dateUpdated: "2025-02-23T07:15:02.767Z", state: "PUBLISHED", }, dataType: "CVE_RECORD", dataVersion: "5.1", "vulnerability-lookup:meta": { nvd: "{\"cve\":{\"id\":\"CVE-2025-21655\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2025-01-20T14:15:27.027\",\"lastModified\":\"2025-02-23T08:15:09.213\",\"vulnStatus\":\"Awaiting Analysis\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nio_uring/eventfd: ensure io_eventfd_signal() defers another RCU period\\n\\nio_eventfd_do_signal() is invoked from an RCU callback, but when\\ndropping the reference to the io_ev_fd, it calls io_eventfd_free()\\ndirectly if the refcount drops to zero. This isn't correct, as any\\npotential freeing of the io_ev_fd should be deferred another RCU grace\\nperiod.\\n\\nJust call io_eventfd_put() rather than open-code the dec-and-test and\\nfree, which will correctly defer it another RCU grace period.\"},{\"lang\":\"es\",\"value\":\"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: io_uring/eventfd: garantizar que io_eventfd_signal() posponga otro período de RCU io_eventfd_do_signal() se invoca desde una devolución de llamada de RCU, pero al eliminar la referencia a io_ev_fd, llama a io_eventfd_free() directamente si El recuento cae a cero. Esto no es correcto, ya que cualquier posible liberación de io_ev_fd debería posponerse otro período de gracia de RCU. Simplemente llame a io_eventfd_put() en lugar de abrir el código dec-and-test y free, lo que lo diferirá correctamente a otro período de gracia de RCU.\"}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/6b63308c28987c6010b1180c72a6db4df6c68033\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/8efff2aa2d95dc437ab67c5b4a9f1d3f367baa10\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/a7085c3ae43b86d4b3d1b8275e6a67f14257e3b7\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/c9a40292a44e78f71258b8522655bffaf5753bdb\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://project-zero.issues.chromium.org/issues/388499293\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}", }, }
Log in or create an account to share your comment.
Security Advisory comment format.
This schema specifies the format of a comment related to a security advisory.
Title of the comment
Description of the comment
Loading…
Loading…
Loading…
Sightings
Author | Source | Type | Date |
---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.