scsi: iscsi_tcp: Check that sock is valid before iscsi_set_param() (Linux Linux)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.17 % · percentile 6 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- Linux
- NVD status
- Analyzed
Description
In the Linux kernel, the following vulnerability has been resolved: scsi: iscsi_tcp: Check that sock is valid before iscsi_set_param() The validity of sock should be checked before assignment to avoid incorrect values. Commit 57569c37f0ad ("scsi: iscsi: iscsi_tcp: Fix null-ptr-deref while calling getpeername()") introduced this change which may lead to inconsistent values of tcp_sw_conn->sendpage and conn->datadgst_en. Fix the issue by moving the position of the assignment.
Weaknesses (CWE)
- CWE-476 — NULL Pointer Dereference
References
- https://git.kernel.org/stable/c/499757ad3332e2527254f9ab68dec1da087b1d96
- https://git.kernel.org/stable/c/5e5c5f472972c4bc9430adc08b36763a0fa5b9f7
- https://git.kernel.org/stable/c/6e06a68fbbfcd8576eee8f7139fa2b13c9b72e91
- https://git.kernel.org/stable/c/b287e21e73ec23f3788fbe40037c42dbe6e9a9a9
- https://git.kernel.org/stable/c/48b19b79cfa37b1e50da3b5a8af529f994c08901
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | MEDIUM 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H | NVD · nvd@nist.gov (Primary) |
European references
- ENISA EUVD · EUVD-2025-32791
- GCVE · GCVE-0-2023-53464
CERT-FR advisories
- CERTFR-2026-AVI-0170 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2025-AVI-0921 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2025-AVI-0895 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
Affected configurations (NVD CPE)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 5.10.150 < 5.10.178cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 5.15.75 < 5.15.107cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 5.19.17 < 6.0cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 6.0.3 < 6.1.24cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 6.2 < 6.2.11cpe:2.3:o:linux:linux_kernel:6.3:rc1:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:6.3:rc2:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:6.3:rc3:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:6.3:rc4:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:6.3:rc5:*:*:*:*:*:*
Affected products
| Product | Versions |
|---|---|
| Linux · Linux | affected 884a788f065578bb640382279a83d1df433b13e6 < 499757ad3332e2527254f9ab68dec1da087b1d96 ; affected a26b0658751bb0a3b28386fca715333b104d32a2 < 5e5c5f472972c4bc9430adc08b36763a0fa5b9f7 ; affected 57569c37f0add1b6489e1a1563c71519daf732cf < 6e06a68fbbfcd8576eee8f7139fa2b13c9b72e91 ; affected 57569c37f0add1b6489e1a1563c71519daf732cf < b287e21e73ec23f3788fbe40037c42dbe6e9a9a9 ; affected 57569c37f0add1b6489e1a1563c71519daf732cf < 48b19b79cfa37b1e50da3b5a8af529f994c08901 ; affected 897dbbc57d71e8a34ec1af8e573a142de457da38 |
| Linux · Linux | affected 6.1 ; unaffected 0 < 6.1 ; unaffected 5.10.178 ≤ 5.10.* ; unaffected 5.15.107 ≤ 5.15.* ; unaffected 6.1.24 ≤ 6.1.* ; unaffected 6.2.11 ≤ 6.2.* |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |