ghsa-cjw9-x8qr-5wpf
Vulnerability from github
Published
2025-04-16 15:34
Modified
2025-06-10 12:30
Details

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

block: fix adding folio to bio

4GB folio is possible on some ARCHs, such as aarch64, 16GB hugepage is supported, then 'offset' of folio can't be held in 'unsigned int', cause warning in bio_add_folio_nofail() and IO failure.

Fix it by adjusting 'page' & trimming 'offset' so that ->bi_offset won't be overflow, and folio can be added to bio successfully.

Show details on source website


{
  "affected": [],
  "aliases": [
    "CVE-2025-22122"
  ],
  "database_specific": {
    "cwe_ids": [],
    "github_reviewed": false,
    "github_reviewed_at": null,
    "nvd_published_at": "2025-04-16T15:16:06Z",
    "severity": null
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nblock: fix adding folio to bio\n\n\u003e4GB folio is possible on some ARCHs, such as aarch64, 16GB hugepage\nis supported, then \u0027offset\u0027 of folio can\u0027t be held in \u0027unsigned int\u0027,\ncause warning in bio_add_folio_nofail() and IO failure.\n\nFix it by adjusting \u0027page\u0027 \u0026 trimming \u0027offset\u0027 so that `-\u003ebi_offset` won\u0027t\nbe overflow, and folio can be added to bio successfully.",
  "id": "GHSA-cjw9-x8qr-5wpf",
  "modified": "2025-06-10T12:30:17Z",
  "published": "2025-04-16T15:34:45Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2025-22122"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/0c60158ff14df04c92792dd9b1809372b095040f"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/26064d3e2b4d9a14df1072980e558c636fb023ea"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/b96e0af1b1c99cb7e6188b6fa4963a4e47beb01e"
    }
  ],
  "schema_version": "1.4.0",
  "severity": []
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


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.


Loading…