{"id":"CVE-2026-138920","summary":"hwrng: ba431 - fix reported byte count","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nhwrng: ba431 - fix reported byte count\n\nUse the size of the buffer element instead of the pointer size to report\nthe number of bytes read. Since data is a u32 pointer and sizeof(data)\nis 8 bytes on 64-bit systems, using the pointer size reports twice the\nnumber of bytes actually read.","modified":"2026-12-01T21:02:35.353023028Z","published":"2026-11-30T13:26:12.890Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/138xxx/CVE-2026-138920.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/0b9f7ad25e722e20bcb27c208320453f3425ce21"},{"type":"WEB","url":"https://git.kernel.org/stable/c/534b35df30aa0e0415a5e07a22d2bdfefada2374"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7e638679883ceff5b6e7b6dcad09c21a105e941f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/8bbbbd7792917549a6dab0c5a4aceed65cd33e3c"},{"type":"WEB","url":"https://git.kernel.org/stable/c/99cfdc3715846ce5ba03441decfce1eb83dade17"},{"type":"WEB","url":"https://git.kernel.org/stable/c/9c8dd6965dd6b81ba38fee1b0faaa024a87fa48e"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a22f19c4abb96768963ae22ec4daad39c9d5f673"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b6981891db86d6118376c7f0855b596abba0b058"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/138xxx/CVE-2026-138920.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-138920"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"0289e9be5dc26d84dda6fc5492f08ca1ff599744"},{"fixed":"b6981891db86d6118376c7f0855b596abba0b058"},{"fixed":"8bbbbd7792917549a6dab0c5a4aceed65cd33e3c"},{"fixed":"9c8dd6965dd6b81ba38fee1b0faaa024a87fa48e"},{"fixed":"534b35df30aa0e0415a5e07a22d2bdfefada2374"},{"fixed":"a22f19c4abb96768963ae22ec4daad39c9d5f673"},{"fixed":"99cfdc3715846ce5ba03441decfce1eb83dade17"},{"fixed":"0b9f7ad25e722e20bcb27c208320453f3425ce21"},{"fixed":"7e638679883ceff5b6e7b6dcad09c21a105e941f"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-138920.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.9.0"},{"fixed":"5.10.275"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.226"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.193"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.163"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.117"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.63"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.3.4"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-138920.json"}}],"schema_version":"1.9.2"}