{"id":"CVE-2026-139756","aliases":["CVE-2026-139756"],"related":[],"kind":"vulnerability","state":"published","title":"spi: amlogic: spisg: Fix transfer size limit and timeout handling","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nspi: amlogic: spisg: Fix transfer size limit and timeout handling\n\nThe CFG_BLOCK_NUM field can encode at most 20 bits, so reduce\nSPISG_BLOCK_MAX to 0xfffff to avoid programming a zero-length transfer.\n\nPerform the delay calculation in 64-bit arithmetic to avoid overflow\nwhen converting nanoseconds to SPI clock cycles.\n\nStop the controller on transfer timeout by clearing the descriptor list\nregister before returning an error.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nspi: amlogic: spisg: Fix transfer size limit and timeout handling\n\nThe CFG_BLOCK_NUM field can encode at most 20 bits, so reduce\nSPISG_BLOCK_MAX to 0xfffff to avoid programming a zero-length transfer.\n\nPerform the delay calculation in 64-bit arithmetic to avoid overflow\nwhen converting nanoseconds to SPI clock cycles.\n\nStop the controller on transfer timeout by clearing the descriptor list\nregister before returning an error.","source":"cvelist"}],"published":"2026-11-30T13:37:41.195Z","modified":"2026-11-30T14:20:08.317Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"cef9991e04aed3305c61c392e880f6e01a0c2ea4","fixed":"c060b90ee665c8efeddfed07c4333c9537631369","status":"affected"},{"type":"git","introduced":"cef9991e04aed3305c61c392e880f6e01a0c2ea4","fixed":"fac2c0c331901317fcd3bed30ef2c91bfd2c7ffc","status":"affected"},{"type":"git","introduced":"cef9991e04aed3305c61c392e880f6e01a0c2ea4","fixed":"754d2bbd92f5ecef0eb4f5b1ac7b1417320a56ca","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.17","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.17","status":"unaffected"},{"type":"semver","introduced":"6.18.65","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.3.6","lastAffected":"7.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.4-rc1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/c060b90ee665c8efeddfed07c4333c9537631369","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/fac2c0c331901317fcd3bed30ef2c91bfd2c7ffc","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/754d2bbd92f5ecef0eb4f5b1ac7b1417320a56ca","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-139756","url":"https://www.cve.org/CVERecord?id=CVE-2026-139756","licence":"CVE Terms of Use","modified":"2026-11-30T13:37:41.195Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-139756","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139756","licence":"Public domain","modified":"2026-11-30T14:20:08.317Z"}],"updatedAt":"2026-11-30T14:33:37.702Z","epss":{"score":0.00348,"percentile":0.30381,"date":"2026-12-01T12:00:22.000Z"}}