{"id":"CVE-2026-23256","summary":"net: liquidio: Fix off-by-one error in VF setup_nic_devices() cleanup","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: liquidio: Fix off-by-one error in VF setup_nic_devices() cleanup\n\nIn setup_nic_devices(), the initialization loop jumps to the label\nsetup_nic_dev_free on failure. The current cleanup loop while(i--)\nskip the failing index i, causing a memory leak.\n\nFix this by changing the loop to iterate from the current index i\ndown to 0.\n\nCompile tested only. Issue found using code review.","modified":"2026-04-02T13:12:18.530711Z","published":"2026-03-18T17:41:02.964Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/23xxx/CVE-2026-23256.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/01fbca1e93ec3f39f76c31a8f9afa32ce00da48a"},{"type":"WEB","url":"https://git.kernel.org/stable/c/3bf519e39b51cb08a93c0599870b35a23db1031e"},{"type":"WEB","url":"https://git.kernel.org/stable/c/4640fa5ad5e1a0dbd1c2d22323b7d70a8107dcfd"},{"type":"WEB","url":"https://git.kernel.org/stable/c/52b19b3a22306fe452ec9e8ff96063f4bfb77b99"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6cbba46934aefdfb5d171e0a95aec06c24f7ca30"},{"type":"WEB","url":"https://git.kernel.org/stable/c/71a56b89203ec7e5670d94a61a9b4ae617eca804"},{"type":"WEB","url":"https://git.kernel.org/stable/c/bd680e56e316be92c01568be98d85d7a6c9bd92c"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/23xxx/CVE-2026-23256.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-23256"},{"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":"846b46873eeb3baf40f7e6d8fe8f98aec95e7727"},{"fixed":"bd680e56e316be92c01568be98d85d7a6c9bd92c"},{"fixed":"01fbca1e93ec3f39f76c31a8f9afa32ce00da48a"},{"fixed":"71a56b89203ec7e5670d94a61a9b4ae617eca804"},{"fixed":"3bf519e39b51cb08a93c0599870b35a23db1031e"},{"fixed":"52b19b3a22306fe452ec9e8ff96063f4bfb77b99"},{"fixed":"4640fa5ad5e1a0dbd1c2d22323b7d70a8107dcfd"},{"fixed":"6cbba46934aefdfb5d171e0a95aec06c24f7ca30"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-23256.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.10.0"},{"fixed":"5.10.250"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.200"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.163"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.124"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.70"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.10"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-23256.json"}}],"schema_version":"1.7.5"}