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

CVE-2026-98833
Not available

At a glance

Source
NVD
EPSS
EPSS 0.17 % · percentile 7 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
Affected products
Linux · Linux
NVD status
Received

Description

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().

References

European references

CERT-FR advisories

Affected products

ProductAffected versions
Linux · Linux
affected : ≥ 46b5889cc2c54bac7d7e727a44d28a298df23cef < 522e821e41654eb06d2f21ac78a0f22fb6b198c2
affected : ≥ 46b5889cc2c54bac7d7e727a44d28a298df23cef < e7e37358408b0690c367cf38aec81a9b7e2475b5
affected : ≥ 46b5889cc2c54bac7d7e727a44d28a298df23cef < d94731cafa57e2c986ff391122d1494e5a3f3c3f
affected : ≥ 46b5889cc2c54bac7d7e727a44d28a298df23cef < 95c8f36293c22d450c371167ad4f9a5bbadc7539
affected : ≥ 46b5889cc2c54bac7d7e727a44d28a298df23cef < f971f1c63cf71579258360a12bd185bc1cd1a043
affected : ≥ 46b5889cc2c54bac7d7e727a44d28a298df23cef < dc482a281a19a7d7e91ad1b2d551bb301c54d0e6
affected : ≥ 46b5889cc2c54bac7d7e727a44d28a298df23cef < 12b31d1acd20b3185bb5f0748db0cf6874c8e9d1
Other versions : unaffected
Linux · Linux
affected : 5.7
unaffected : ≥ 0 < 5.7
unaffected : ≥ 5.15.224 ≤ 5.15.*
unaffected : ≥ 6.1.191 ≤ 6.1.*
unaffected : ≥ 6.6.160 ≤ 6.6.*
unaffected : ≥ 6.12.113 ≤ 6.12.*
unaffected : ≥ 6.18.56 ≤ 6.18.*
unaffected : ≥ 7.2.10 ≤ 7.2.*
unaffected : ≥ 7.3 ≤ *
Other versions : affected

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD