{"id":"CVE-2026-43141","summary":"ntb: ntb_hw_switchtec: Fix shift-out-of-bounds for 0 mw lut","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nntb: ntb_hw_switchtec: Fix shift-out-of-bounds for 0 mw lut\n\nNumber of MW LUTs depends on NTB configuration and can be set to zero,\nin such scenario rounddown_pow_of_two will cause undefined behaviour and\nshould not be performed.\nThis patch ensures that rounddown_pow_of_two is called on valid value.","modified":"2026-05-28T03:55:13.363416715Z","published":"2026-05-06T11:27:26.193Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/43xxx/CVE-2026-43141.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/186615f8855a0be4ee7d3fcd09a8ecc10e783b08"},{"type":"WEB","url":"https://git.kernel.org/stable/c/1a867d0d79a4a570a33f2f433919ad2bd7a27b67"},{"type":"WEB","url":"https://git.kernel.org/stable/c/2e4d5e8d86a969318340be95470bb76e52392082"},{"type":"WEB","url":"https://git.kernel.org/stable/c/5590cd04d6845c01a6bad985a491c58af6fb5389"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a11d03d116eef138a7249202bd772c8e61915aec"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a133e3caf844a3f56b6eef89ddaa66115874f6bd"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d0559d07afabfddaaded6a61a16154486b956764"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d652ef399f131fcd5f8f34266167449ee7c9e5b3"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/43xxx/CVE-2026-43141.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-43141"},{"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":"ec0467ccbdeb69a86c8729073057bda7bce00eec"},{"fixed":"d652ef399f131fcd5f8f34266167449ee7c9e5b3"},{"fixed":"5590cd04d6845c01a6bad985a491c58af6fb5389"},{"fixed":"a11d03d116eef138a7249202bd772c8e61915aec"},{"fixed":"d0559d07afabfddaaded6a61a16154486b956764"},{"fixed":"2e4d5e8d86a969318340be95470bb76e52392082"},{"fixed":"a133e3caf844a3f56b6eef89ddaa66115874f6bd"},{"fixed":"1a867d0d79a4a570a33f2f433919ad2bd7a27b67"},{"fixed":"186615f8855a0be4ee7d3fcd09a8ecc10e783b08"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-43141.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.15.0"},{"fixed":"5.10.252"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.202"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.165"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.128"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.75"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.16"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"6.19.6"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-43141.json"}}],"schema_version":"1.7.5"}