UBUNTU-CVE-2026-89557 (CVE-2026-89557)

Vulnerability from osv_ubuntu – Published: 2026-09-11 20:19 – Updated: 2026-11-24 10:39 – Source website
VLAI
Details

In the Linux kernel, the following vulnerability has been resolved: md: do overflow check for sb->bblog_shift in super_1_load() In super_1_load(), sb->bblog_shift is an __u8 type value loaded from on- disk superblock. It is used for badblocks API badblocks_set() by the following sequence, 1930 rdev->badblocks.shift = sb->bblog_shift; 1931 for (i = 0 ; i < (sectors << (9-3)) ; i++, bbp++) { 1932 u64 bb = le64_to_cpu(*bbp); 1933 int count = bb & (0x3ff); 1934 u64 sector = bb >> 10; 1935 sector <<= sb->bblog_shift; 1936 count <<= sb->bblog_shift; 1937 if (bb + 1 == 0) 1938 break; 1939 if (!badblocks_set(&rdev->badblocks, sector, count, 1)) 1940 return -EINVAL; 1941 } bb->bblog_shit is in range of 0-255, variable sector is 64bit width, for an invalid bb->bblog_shit, it is possible to make sector be overflowed by the following calculation, 1935 sector <<= sb->bblog_shift; Then in turn when call badblocks_set() at line 1939 with the invalid rdev->badblocks.shift set at line 1930, may result an overflow inside _badblocks_clear() in block/badblocks.c. Although there are many places to call badblocks APIs, the non-zero shift value is only used in super_1_load(), other places always use 0 as the shift value. Therefore it is unnecessary to do a general shift value overflow check inside badblock API, and just check here as the caller. This may avoid unnecessary check, make the badblocks API code more simple and elegant.

References
https://ubuntu.com/security/CVE-2026-89557 REPORT
https://www.cve.org/CVERecord?id=CVE-2026-89557 REPORT
https://git.kernel.org/linus/35d522bd32462afcf198… REPORT
https://git.kernel.org/stable/c/35d522bd32462afcf… REPORT
https://git.kernel.org/stable/c/3b097416b4cff7728… REPORT
https://git.kernel.org/stable/c/75d15738fd33a7826… REPORT
https://git.kernel.org/stable/c/df7d4d011d5ace206… REPORT
https://ubuntu.com/security/notices/USN-8962-1 ADVISORY
https://ubuntu.com/security/notices/USN-8961-1 ADVISORY
https://ubuntu.com/security/notices/USN-8959-1 ADVISORY
https://ubuntu.com/security/notices/USN-8963-1 ADVISORY
https://ubuntu.com/security/notices/USN-9002-1 ADVISORY
https://ubuntu.com/security/notices/USN-9020-1 ADVISORY
https://ubuntu.com/security/notices/USN-9023-1 ADVISORY
https://ubuntu.com/security/notices/USN-9025-1 ADVISORY
https://ubuntu.com/security/notices/USN-9022-1 ADVISORY
https://ubuntu.com/security/notices/USN-9029-1 ADVISORY
https://ubuntu.com/security/notices/USN-9024-1 ADVISORY
https://ubuntu.com/security/notices/USN-9026-1 ADVISORY
https://ubuntu.com/security/notices/USN-9019-1 ADVISORY
https://ubuntu.com/security/notices/USN-9039-1 ADVISORY
https://ubuntu.com/security/notices/USN-9040-1 ADVISORY
https://ubuntu.com/security/notices/USN-9066-1 ADVISORY
https://ubuntu.com/security/notices/USN-9021-1 ADVISORY
https://ubuntu.com/security/notices/USN-9160-1 ADVISORY
https://ubuntu.com/security/notices/USN-9183-1 ADVISORY
https://ubuntu.com/security/notices/USN-9192-1 ADVISORY

Loading 1.0 MB of JSON…



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…