{"id":"CVE-2026-31539","aliases":["CVE-2026-31539"],"related":[],"kind":"vulnerability","state":"published","title":"smb: smbdirect: introduce smbdirect_socket.recv_io.credits.available","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nsmb: smbdirect: introduce smbdirect_socket.recv_io.credits.available\n\nThe logic off managing recv credits by counting posted recv_io and\ngranted credits is racy.\n\nThat's because the peer might already consumed a credit,\nbut between receiving the incoming recv at the hardware\nand processing the completion in the 'recv_done' functions\nwe likely have a window where we grant credits, which\ndon't really exist.\n\nSo we better have a decicated counter for the\navailable credits, which will be incremented\nwhen we posted new recv buffers and drained when\nwe grant the credits to the peer.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nsmb: smbdirect: introduce smbdirect_socket.recv_io.credits.available\n\nThe logic off managing recv credits by counting posted recv_io and\ngranted credits is racy.\n\nThat's because the peer might already consumed a credit,\nbut between receiving the incoming recv at the hardware\nand processing the completion in the 'recv_done' functions\nwe likely have a window where we grant credits, which\ndon't really exist.\n\nSo we better have a decicated counter for the\navailable credits, which will be incremented\nwhen we posted new recv buffers and drained when\nwe grant the credits to the peer.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\nsmb: smbdirect: se introduce smbdirect_socket.recv_io.credits.available\n\nLa lógica de gestionar los créditos recv contando los recv_io publicados y los créditos concedidos es propensa a condiciones de carrera.\n\nEsto se debe a que el par ya podría haber consumido un crédito, pero entre la recepción del recv entrante en el hardware y el procesamiento de la finalización en las funciones ’recv_done’ es probable que tengamos una ventana donde concedemos créditos que en realidad no existen.\n\nAsí que es mejor tener un contador dedicado para los créditos disponibles, el cual será incrementado cuando publiquemos nuevos búferes recv y disminuido cuando concedamos los créditos al par.","source":"nvd"}],"published":"2026-04-24T14:30:26.326Z","modified":"2026-11-11T23:10:00.263Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"}],"cwes":["CWE-362"],"affected":[{"ranges":[{"type":"git","introduced":"5fb9b459b3686e366640edd4e62805ef7b4de927","fixed":"e811e60e1cc79923c4388146eb1fa26a7482731e","status":"affected"},{"type":"git","introduced":"5fb9b459b3686e366640edd4e62805ef7b4de927","fixed":"f99996870222b598914a1f49d7375dc23752c237","status":"affected"},{"type":"git","introduced":"5fb9b459b3686e366640edd4e62805ef7b4de927","fixed":"6e3c5052f9686192e178806e017b7377155f4bab","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.18","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.18","status":"unaffected"},{"type":"semver","introduced":"6.18.11","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"6.19.1","lastAffected":"6.19.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.0","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"6.18","fixed":"6.18.11"},{"status":"affected","introduced":"6.19","fixed":"6.19.1"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/e811e60e1cc79923c4388146eb1fa26a7482731e","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f99996870222b598914a1f49d7375dc23752c237","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6e3c5052f9686192e178806e017b7377155f4bab","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-10-16T15:10:46.426Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-31539","url":"https://www.cve.org/CVERecord?id=CVE-2026-31539","licence":"CVE Terms of Use","modified":"2026-10-19T18:55:58.491Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-31539","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-31539","licence":"Public domain","modified":"2026-11-11T23:10:00.263Z"}],"updatedAt":"2026-11-25T22:59:19.473Z","epss":{"score":0.00342,"percentile":0.29695,"date":"2026-12-01T12:00:22.000Z"}}