{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-43380","id":"CVE-2026-43380","title":"hwmon: (pmbus/q54sj108a2) fix stack overflow in debugfs read","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nhwmon: (pmbus/q54sj108a2) fix stack overflow in debugfs read\n\nThe q54sj108a2_debugfs_read function suffers from a stack buffer overflow\ndue to incorrect arguments passed to bin2hex(). The function currently\npasses 'data' as the destination and 'data_char' as the source.\n\nBecause bin2hex() converts each input byte into two hex cha","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\nhwmon: (pmbus/q54sj108a2) fix stack overflow in debugfs read\n\nThe q54sj108a2_debugfs_read function suffers from a stack buffer overflow\ndue to incorrect arguments passed to bin2hex(). The function currently\npasses 'data' as the destination and 'data_char' as the source.\n\nBecause bin2hex() converts each input byte into two hex characters, a\n32-byte block read results in 64 bytes of output. Since 'data' is only\n34 bytes (I2C_SMBUS_BLOCK_MAX + 2), this writes 30 bytes past the end\nof the buffer onto the stack.\n\nAdditionally, the arguments were swapped: it was reading from the\nzero-initialized 'data_char' and writing to 'data', resulting in\nall-zero output regardless of the actual I2C read.\n\nFix this by:\n1. Expanding 'data_char' to 66 bytes to safely hold the hex output.\n2. Correcting the bin2hex() argument order and using the actual read count.\n3. Using a pointer to select the correct output buffer for the final\n   simple_read_from_buffer call.","published":"2026-05-08T14:21:28.702Z","updated":"2026-11-13T02:30:30.320635711Z","reserved":"2026-05-01T14:12:56.006Z","status":"Modified","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"Linux"},"metrics":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"Linux"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","rating":"high","source":"NVD"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"}],"rating":"high","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"d014538aa38561cd24c5eb228223585f26c5ec71","lessThan":"a0fc1b9c738fba231f190ab960c83202722efee5","status":"affected","versionType":"git"},{"version":"d014538aa38561cd24c5eb228223585f26c5ec71","lessThan":"c59090c50f62a17129fc4c5407bc4071305a9e82","status":"affected","versionType":"git"},{"version":"d014538aa38561cd24c5eb228223585f26c5ec71","lessThan":"52db5ef163c96f916d424e472fb17aadc35a9f7a","status":"affected","versionType":"git"},{"version":"d014538aa38561cd24c5eb228223585f26c5ec71","lessThan":"b48a0f8d4541a4f6651dc9a64430ce9fdf5c120b","status":"affected","versionType":"git"},{"version":"d014538aa38561cd24c5eb228223585f26c5ec71","lessThan":"73a7a345816946d276ad2c46c8bb771de67cfc46","status":"affected","versionType":"git"},{"version":"d014538aa38561cd24c5eb228223585f26c5ec71","lessThan":"24a7b9daa103fa963b3fd37d8805b23e01621976","status":"affected","versionType":"git"},{"version":"d014538aa38561cd24c5eb228223585f26c5ec71","lessThan":"25dd70a03b1f5f3aa71e1a5091ecd9cd2a13ee43","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.11","status":"affected"},{"version":"0","lessThan":"5.11","status":"unaffected","versionType":"semver"},{"version":"5.15.203","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.167","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.130","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.78","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.19","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"6.19.9","lessThanOrEqual":"6.19.*","status":"unaffected","versionType":"semver"},{"version":"7.0","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-125"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/a0fc1b9c738fba231f190ab960c83202722efee5","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/c59090c50f62a17129fc4c5407bc4071305a9e82","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/52db5ef163c96f916d424e472fb17aadc35a9f7a","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/b48a0f8d4541a4f6651dc9a64430ce9fdf5c120b","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/73a7a345816946d276ad2c46c8bb771de67cfc46","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/24a7b9daa103fa963b3fd37d8805b23e01621976","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/25dd70a03b1f5f3aa71e1a5091ecd9cd2a13ee43","tags":["Patch","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/43xxx/CVE-2026-43380.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-43380","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.00143,"epssPercentile":0.03674,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-43380","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-43380","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-43380","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-43380","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}