CVE-2026-98833 PUBLISHED

mtd: core: call _get_device() with the master MTD

Assigner: Linux
Reserved: 25.09.2026 Published: 18.10.2026 Updated: 18.10.2026

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

mtd: core: call _get_device() with the master MTD

__get_mtd_device() calls the master's _get_device() callback with mtd, which may be a partition. __put_mtd_device() passes the master.

This breaks gluebi partitions because gluebi_get_device() uses container_of() and therefore requires the master MTD. Pass the master to _get_device(), matching _put_device().

Product Status

Vendor Linux
Product Linux
Versions Default: unaffected
  • affected from 46b5889cc2c54bac7d7e727a44d28a298df23cef to 95c8f36293c22d450c371167ad4f9a5bbadc7539 (excl.)
  • affected from 46b5889cc2c54bac7d7e727a44d28a298df23cef to f971f1c63cf71579258360a12bd185bc1cd1a043 (excl.)
  • affected from 46b5889cc2c54bac7d7e727a44d28a298df23cef to dc482a281a19a7d7e91ad1b2d551bb301c54d0e6 (excl.)
  • affected from 46b5889cc2c54bac7d7e727a44d28a298df23cef to 12b31d1acd20b3185bb5f0748db0cf6874c8e9d1 (excl.)
Vendor Linux
Product Linux
Versions Default: affected
  • Version 5.7 is affected
  • unaffected from 0 to 5.7 (excl.)
  • unaffected from 6.12.113 to 6.12.* (incl.)
  • unaffected from 6.18.56 to 6.18.* (incl.)
  • unaffected from 7.2.10 to 7.2.* (incl.)
  • unaffected from 7.3-rc6 to * (incl.)

References