hwrng: ba431 - fix reported byte count
- State
- Published
- Severity
- Not Scored
- Published
- Nov 30, 2026
- Updated
- Nov 30, 2026
- Reserved
- Nov 30, 2026
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.
| Product | Versions |
|---|---|
| Linux Linux | 0289e9be5dc26d84dda6fc5492f08ca1ff599744 to before b6981891db86d6118376c7f0855b596abba0b058 Affected0289e9be5dc26d84dda6fc5492f08ca1ff599744 to before 8bbbbd7792917549a6dab0c5a4aceed65cd33e3c Affected0289e9be5dc26d84dda6fc5492f08ca1ff599744 to before 9c8dd6965dd6b81ba38fee1b0faaa024a87fa48e Affected0289e9be5dc26d84dda6fc5492f08ca1ff599744 to before 534b35df30aa0e0415a5e07a22d2bdfefada2374 Affected0289e9be5dc26d84dda6fc5492f08ca1ff599744 to before a22f19c4abb96768963ae22ec4daad39c9d5f673 Affected0289e9be5dc26d84dda6fc5492f08ca1ff599744 to before 99cfdc3715846ce5ba03441decfce1eb83dade17 Affected0289e9be5dc26d84dda6fc5492f08ca1ff599744 to before 0b9f7ad25e722e20bcb27c208320453f3425ce21 Affected0289e9be5dc26d84dda6fc5492f08ca1ff599744 to before 7e638679883ceff5b6e7b6dcad09c21a105e941f Affected |
| Linux Linux | 5.9 Affectedbefore 5.9 Not Affected5.10.275 through 5.10.* Not Affected5.15.226 through 5.15.* Not Affected6.1.193 through 6.1.* Not Affected6.6.163 through 6.6.* Not Affected6.12.117 through 6.12.* Not Affected6.18.63 through 6.18.* Not Affected7.3.4 through 7.3.* Not Affected7.4-rc1 and later Not Affected |
The record has no CVSS score.
Weaknesses
The record names no weakness.
References
- https://git.kernel.org/stable/c/b6981891db86d6118376c7f0855b596abba0b058
- https://git.kernel.org/stable/c/8bbbbd7792917549a6dab0c5a4aceed65cd33e3c
- https://git.kernel.org/stable/c/9c8dd6965dd6b81ba38fee1b0faaa024a87fa48e
- https://git.kernel.org/stable/c/534b35df30aa0e0415a5e07a22d2bdfefada2374
- https://git.kernel.org/stable/c/a22f19c4abb96768963ae22ec4daad39c9d5f673
- https://git.kernel.org/stable/c/99cfdc3715846ce5ba03441decfce1eb83dade17
- https://git.kernel.org/stable/c/0b9f7ad25e722e20bcb27c208320453f3425ce21
- https://git.kernel.org/stable/c/7e638679883ceff5b6e7b6dcad09c21a105e941f
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.