Incident response on call, 24/7: +385 98 1900 984NewIR Retainer: a team on contract before an attack
HR · EN
PendingCVE-2026-138920

hwrng: ba431 - fix reported byte count

Published 30/11/2026 · Updated 30/11/2026 · Linux

Description

In the Linux kernel, the following vulnerability has been resolved: hwrng: ba431 - fix reported byte count Use the size of the buffer element instead of the pointer size to report the number of bytes read. Since data is a u32 pointer and sizeof(data) is 8 bytes on 64-bit systems, using the pointer size reports twice the number of bytes actually read.

Affected products and versions

Linux Linux0289e9be5dc26d84dda6fc5492f08ca1ff599744 – < b6981891db86d6118376c7f0855b596abba0b058 · 0289e9be5dc26d84dda6fc5492f08ca1ff599744 – < 8bbbbd7792917549a6dab0c5a4aceed65cd33e3c · 0289e9be5dc26d84dda6fc5492f08ca1ff599744 – < 9c8dd6965dd6b81ba38fee1b0faaa024a87fa48e · 0289e9be5dc26d84dda6fc5492f08ca1ff599744 – < 534b35df30aa0e0415a5e07a22d2bdfefada2374 · 0289e9be5dc26d84dda6fc5492f08ca1ff599744 – < a22f19c4abb96768963ae22ec4daad39c9d5f673 · 0289e9be5dc26d84dda6fc5492f08ca1ff599744 – < 99cfdc3715846ce5ba03441decfce1eb83dade17 · 0289e9be5dc26d84dda6fc5492f08ca1ff599744 – < 0b9f7ad25e722e20bcb27c208320453f3425ce21 · 0289e9be5dc26d84dda6fc5492f08ca1ff599744 – < 7e638679883ceff5b6e7b6dcad09c21a105e941fFixed in: b6981891db86d6118376c7f0855b596abba0b058 · 8bbbbd7792917549a6dab0c5a4aceed65cd33e3c · 9c8dd6965dd6b81ba38fee1b0faaa024a87fa48e · 534b35df30aa0e0415a5e07a22d2bdfefada2374 · a22f19c4abb96768963ae22ec4daad39c9d5f673 · 99cfdc3715846ce5ba03441decfce1eb83dade17 · 0b9f7ad25e722e20bcb27c208320453f3425ce21 · 7e638679883ceff5b6e7b6dcad09c21a105e941f
Linux Linux5.9Fixed in: 5.10.275 · 5.15.226 · 6.1.193 · 6.6.163 · 6.12.117 · 6.18.63 · 7.3.4 · 7.4-rc1

References

Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Always check the vendor's official advisory.