Linux
ipmi: ipmb: validate write message length
In the Linux kernel, the following vulnerability has been resolved: ipmi: ipmb: validate write message length ipmb_write() read message fields before validating the length byte. A zero or short write can read uninitialized stack bytes. A length smaller than the SMBus header underflows the block write length. Require a non-empty buffer and the minimum IPMB request length. Also require the length byte plus payload before parsing the message.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 51bd6f291583684f495ea498984dfc22049d7fd2, < 8990c7f6bfc1e7689b7012a7d4d0efb9f07a9c89
- >= 51bd6f291583684f495ea498984dfc22049d7fd2, < 94f8d20153e348c79bc14dc25f873470518892da
- >= 51bd6f291583684f495ea498984dfc22049d7fd2, < e527cd4e80066e1ed070fdc7c705bde340cdcc62
- >= 51bd6f291583684f495ea498984dfc22049d7fd2, < 7d66d54b974cff0a959e188af844d2d110422767
- >= 51bd6f291583684f495ea498984dfc22049d7fd2, < 60939bcda6f3f104ef456fdbf3cc5733c0720fb1
- >= 51bd6f291583684f495ea498984dfc22049d7fd2, < 5719431ca2b5fa26560bb38f6202f8b97fa3bbb0
- >= 51bd6f291583684f495ea498984dfc22049d7fd2, < a84c6e3d188f2c6e674910929eb790634299d6d5
- >= 51bd6f291583684f495ea498984dfc22049d7fd2, < 53637506884dbd5c91a89b1a3547d99d80f8ed2c
Fixed in 8990c7f6bfc1e7689b7012a7d4d0efb9f07a9c89, 94f8d20153e348c79bc14dc25f873470518892da, e527cd4e80066e1ed070fdc7c705bde340cdcc62, 7d66d54b974cff0a959e188af844d2d110422767, 60939bcda6f3f104ef456fdbf3cc5733c0720fb1, 5719431ca2b5fa26560bb38f6202f8b97fa3bbb0, a84c6e3d188f2c6e674910929eb790634299d6d5, 53637506884dbd5c91a89b1a3547d99d80f8ed2c
- 5.3
Fixed in 0, 5.10.270, 5.15.221, 6.1.188, 6.6.157, 6.12.109, 6.18.50, 7.2.4, 7.3
Mitigation
Upgrade Linux to 8990c7f6bfc1e7689b7012a7d4d0efb9f07a9c89 or 94f8d20153e348c79bc14dc25f873470518892da or e527cd4e80066e1ed070fdc7c705bde340cdcc62 or 7d66d54b974cff0a959e188af844d2d110422767 or 60939bcda6f3f104ef456fdbf3cc5733c0720fb1 or 5719431ca2b5fa26560bb38f6202f8b97fa3bbb0 or a84c6e3d188f2c6e674910929eb790634299d6d5 or 53637506884dbd5c91a89b1a3547d99d80f8ed2c or later.
Upgrade Linux to 0 or 5.10.270 or 5.15.221 or 6.1.188 or 6.6.157 or 6.12.109 or 6.18.50 or 7.2.4 or 7.3 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.