{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-23257","id":"CVE-2026-23257","title":"net: liquidio: Fix off-by-one error in PF setup_nic_devices() cleanup","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: liquidio: Fix off-by-one error in PF 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.","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: liquidio: Fix off-by-one error in PF 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\nAlso, decrement i in the devlink_alloc failure path to point to the\nlast successfully allocated index.\n\nCompile tested only. Issue found using code review.","published":"2026-03-18T17:41:04.078Z","updated":"2026-11-07T02:30:24.108864844Z","reserved":"2026-01-13T15:37:45.990Z","status":"Analyzed","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},"metrics":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"}],"rating":"medium","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"f21fb3ed364bb83533c5efe19354e337ea9ecda9","lessThan":"af38d9a5cb49fe9d0d282b44f17fdc1f3270d99d","status":"affected","versionType":"git"},{"version":"f21fb3ed364bb83533c5efe19354e337ea9ecda9","lessThan":"d86c58eb005eb99da402452f3db7a6e0eae32815","status":"affected","versionType":"git"},{"version":"f21fb3ed364bb83533c5efe19354e337ea9ecda9","lessThan":"f1216b80c9040a904d2ad7c8cd24ca0ff1f36932","status":"affected","versionType":"git"},{"version":"f21fb3ed364bb83533c5efe19354e337ea9ecda9","lessThan":"a0d2389c8cdc1f05de5eb8663bffe9ed05dca769","status":"affected","versionType":"git"},{"version":"f21fb3ed364bb83533c5efe19354e337ea9ecda9","lessThan":"f86bd16280a0f88b538394e0565c56ce4756da99","status":"affected","versionType":"git"},{"version":"f21fb3ed364bb83533c5efe19354e337ea9ecda9","lessThan":"293eaad0d6d6b2a37a458c7deb7be345349cd963","status":"affected","versionType":"git"},{"version":"f21fb3ed364bb83533c5efe19354e337ea9ecda9","lessThan":"8558aef4e8a1a83049ab906d21d391093cfa7e7f","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.2","status":"affected"},{"version":"0","lessThan":"4.2","status":"unaffected","versionType":"semver"},{"version":"5.10.250","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.200","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.163","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.124","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.70","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.10","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"6.19","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-193"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/af38d9a5cb49fe9d0d282b44f17fdc1f3270d99d","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/d86c58eb005eb99da402452f3db7a6e0eae32815","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/f1216b80c9040a904d2ad7c8cd24ca0ff1f36932","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/a0d2389c8cdc1f05de5eb8663bffe9ed05dca769","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/f86bd16280a0f88b538394e0565c56ce4756da99","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/293eaad0d6d6b2a37a458c7deb7be345349cd963","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/8558aef4e8a1a83049ab906d21d391093cfa7e7f","tags":["Patch","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/23xxx/CVE-2026-23257.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-23257","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":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00134,"epssPercentile":0.0298,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-23257","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-23257","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-23257","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-23257","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}