Skip to content
Noroxi
CVE-2023-52975· NVD / CVE Program· CNA Linux

scsi: iscsi_tcp: Fix UAF during logout when accessing the shost ipaddress

Noroxi assessment

Priority: Monitor (action score 31/100)

  • The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
  • Probability of exploitation in the next 30 days: 0.30% (FIRST EPSS).
  • Someone with local access to the system can trigger it. A low-privileged account is enough. No user action is required. No special conditions are required; it is repeatable.
  • Fixed version: Linux Linux 0af745fddefbd56198f4f35eb309215ee5f9e21e, 17b738590b97fb3fc287289971d1519ff9b875a1, 6f1d64b13097e85abda0f91b5638000afc5f9a06.

Low priority for now. Upgrade to Linux Linux 0af745fddefbd56198f4f35eb309215ee5f9e21e, 17b738590b97fb3fc287289971d1519ff9b875a1, 6f1d64b13097e85abda0f91b5638000afc5f9a06 or later.

Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it

Primary sources: NVD · CVE.org · FIRST EPSS

In the Linux kernel, the following vulnerability has been resolved: scsi: iscsi_tcp: Fix UAF during logout when accessing the shost ipaddress Bug report and analysis from Ding Hui. During iSCSI session logout, if another task accesses the shost ipaddress attr, we can get a KASAN UAF report like this: [ 276.942144] BUG: KASAN: use-after-free in _raw_spin_lock_bh+0x78/0xe0 [ 276.942535] Write of size 4 at addr ffff8881053b45b8 by task cat/4088 [ 276.943511] CPU: 2 PID: 4088 Comm: cat Tainted: G E 6.1.0-rc8+ #3 [ 276.943997] Hardware name: VMware, Inc. VMware Virtual Platform/440BX Desktop Reference Platform, BIOS 6.00 11/12/2020 [ 276.944470] Call Trace: [ 276.944943] <TASK> [ 276.945397] dump_stack_lvl+0x34/0x48 [ 276.945887] print_address_description.constprop.0+0x86/0x1e7 [ 276.946421] print_report+0x36/0x4f [ 276.947358] kasan_report+0xad/0x130 [ 276.948234] kasan_check_range+0x35/0x1c0 [ 276.948674] _raw_spin_lock_bh+0x78/0xe0 [ 276.949989] iscsi_sw_tcp_host_get_param+0xad/0x2e0 [iscsi_tcp] [ 276.951765] show_host_param_ISCSI_HOST_PARAM_IPADDRESS+0xe9/0x130 [scsi_transport_iscsi] [ 276.952185] dev_attr_show+0x3f/0x80 [ 276.953005] sysfs_kf_seq_show+0x1fb/0x3e0 [ 276.953401] seq_read_iter+0x402/0x1020 [ 276.954260] vfs_read+0x532/0x7b0 [ 276.955113] ksys_read+0xed/0x1c0 [ 276.955952] do_syscall_64+0x38/0x90 [ 276.956347] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 276.956769] RIP: 0033:0x7f5d3a679222 [ 276.957161] Code: c0 e9 b2 fe ff ff 50 48 8d 3d 32 c0 0b 00 e8 a5 fe 01 00 0f 1f 44 00 00 f3 0f 1e fa 64 8b 04 25 18 00 00 00 85 c0 75 10 0f 05 <48> 3d 00 f0 ff ff 77 56 c3 0f 1f 44 00 00 48 83 ec 28 48 89 54 24 [ 276.958009] RSP: 002b:00007ffc864d16a8 EFLAGS: 00000246 ORIG_RAX: 0000000000000000 [ 276.958431] RAX: ffffffffffffffda RBX: 0000000000020000 RCX: 00007f5d3a679222 [ 276.958857] RDX: 0000000000020000 RSI: 00007f5d3a4fe000 RDI: 0000000000000003 [ 276.959281] RBP: 00007f5d3a4fe000 R08: 00000000ffffffff R09: 0000000000000000 [ 276.959682] R10: 0000000000000022 R11: 0000000000000246 R12: 0000000000020000 [ 276.960126] R13: 0000000000000003 R14: 0000000000000000 R15: 0000557a26dada58 [ 276.960536] </TASK> [ 276.961357] Allocated by task 2209: [ 276.961756] kasan_save_stack+0x1e/0x40 [ 276.962170] kasan_set_track+0x21/0x30 [ 276.962557] __kasan_kmalloc+0x7e/0x90 [ 276.962923] __kmalloc+0x5b/0x140 [ 276.963308] iscsi_alloc_session+0x28/0x840 [scsi_transport_iscsi] [ 276.963712] iscsi_session_setup+0xda/0xba0 [libiscsi] [ 276.964078] iscsi_sw_tcp_session_create+0x1fd/0x330 [iscsi_tcp] [ 276.964431] iscsi_if_create_session.isra.0+0x50/0x260 [scsi_transport_iscsi] [ 276.964793] iscsi_if_recv_msg+0xc5a/0x2660 [scsi_transport_iscsi] [ 276.965153] iscsi_if_rx+0x198/0x4b0 [scsi_transport_iscsi] [ 276.965546] netlink_unicast+0x4d5/0x7b0 [ 276.965905] netlink_sendmsg+0x78d/0xc30 [ 276.966236] sock_sendmsg+0xe5/0x120 [ 276.966576] ____sys_sendmsg+0x5fe/0x860 [ 276.966923] ___sys_sendmsg+0xe0/0x170 [ 276.967300] __sys_sendmsg+0xc8/0x170 [ 276.967666] do_syscall_64+0x38/0x90 [ 276.968028] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 276.968773] Freed by task 2209: [ 276.969111] kasan_save_stack+0x1e/0x40 [ 276.969449] kasan_set_track+0x21/0x30 [ 276.969789] kasan_save_free_info+0x2a/0x50 [ 276.970146] __kasan_slab_free+0x106/0x190 [ 276.970470] __kmem_cache_free+0x133/0x270 [ 276.970816] device_release+0x98/0x210 [ 276.971145] kobject_cleanup+0x101/0x360 [ 276.971462] iscsi_session_teardown+0x3fb/0x530 [libiscsi] [ 276.971775] iscsi_sw_tcp_session_destroy+0xd8/0x130 [iscsi_tcp] [ 276.972143] iscsi_if_recv_msg+0x1bf1/0x2660 [scsi_transport_iscsi] [ 276.972485] iscsi_if_rx+0x198/0x4b0 [scsi_transport_iscsi] [ 276.972808] netlink_unicast+0x4d5/0x7b0 [ 276.973201] netlink_sendmsg+0x78d/0xc30 [ 276.973544] sock_sendmsg+0xe5/0x120 [ 276.973864] ____sys_sendmsg+0x5fe/0x860 [ 276.974248] ___sys_ ---truncated---

HighCVSS 7.8 · v3.1—No exploit Fix available
Published
Mar 27, 2025
Updated
Aug 5, 2026
EPSS
0.3% · 21th percentile

Report tools

JSON

Action score

31

Monitor

Low priority for now.

CVSS
31 / 40 · 7.8 / 10
CISA KEV
0 / 30 · Not listed
EPSS
0 / 30 · 0.3%

CISA SSVC decision

Exploitation
none
Automatable
no
Technical impact
total

Vulnrichment: CISA's decision-tree inputs.

CNA vs NVD score

NVD
—
CNA · Linux
7.8
NVD has not scored this yet; the score shown is the CNA’s.

The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.

Get told when this record changes

  • Not in KEV: no record of exploitation in the wild
  • No public exploit code on record
  • A fix has been released

If any of these changes, we'll tell you in the daily email digest.

Follow CVE-2023-52975

When you'll hear from us

  • when it enters CISA KEV
  • when exploit code appears or is weaponized
  • when the record is updated (including a fixed version)
  • when EPSS rises 20 points in a week

One daily email digest (06:00 UTC); connect a webhook for KEV listings and weaponized exploits instantly.

Your free account also gets you

Running WordPress? Scan your site free with WP Lens

  • Stack alerts: add the products and versions you run, get the new CVEs that affect them
  • Uptime monitoring: 1 site, instant email when it goes down
  • Add your domain: subdomains and takeover risk scanned every week (1 domain)
  • 10 scans an hour on the security tools (3 a day without an account), an API key and MCP
  • All your scans in one panel: findings, what changed in the last scan, a report per domain or per client (PDF, share link)
All free tools

Sign up with email · Have an account? Sign in

Free account, no card. Unfollow any time.

Running WordPress? Scan your site free with WP Lens

Is your version affected? Check it

Noroxi analysis

What does it mean in your environment?

The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.

We use this product, ask for help

Affected systems

Is your version affected?

Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.

VendorProduct
linuxlinux kernel

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • linux linux kernelbefore 5.10.248
  • linux linux kernel5.11 and later · before 5.15.93
  • linux linux kernel5.16 and later · before 6.1.11
  • linux linux kernel6.2

Versions reported by the vendor

Affected version ranges reported by the assigning authority (Linux). Independent of NVD's CPE analysis and usually ahead of it.

  • Linux Linux

    • 2.6.39affected
    • a79af8a64d395bd89de8695a5ea5e1a7f01f02a8 and later · before 0af745fddefbd56198f4f35eb309215ee5f9e21eaffected · git
    • a79af8a64d395bd89de8695a5ea5e1a7f01f02a8 and later · before 17b738590b97fb3fc287289971d1519ff9b875a1affected · git
    • a79af8a64d395bd89de8695a5ea5e1a7f01f02a8 and later · before 8859687f5b242c0b057461df0a9ff51d5500783baffected · git
    • a79af8a64d395bd89de8695a5ea5e1a7f01f02a8 and later · before 6f1d64b13097e85abda0f91b5638000afc5f9a06affected · git
    • before 2.6.39not affected · semver
    • 5.10.248 and later · up to and including 5.10.*not affected · semver
    • 5.15.93 and later · up to and including 5.15.*not affected · semver
    • 6.1.11 and later · up to and including 6.1.*not affected · semver
    • 6.2 and laternot affected · original_commit_for_fix

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
Debian:11linuxbefore 5.10.249-15.10.249-1
Debian:12linuxbefore 6.1.11-16.1.11-1
Red Hat:rhel_eus:9.0::appstreambpftool-debuginfobefore 0:5.14.0-70.85.1.el9_00:5.14.0-70.85.1.el9_0
Red Hat:rhel_eus:9.0::appstreamkernel-debug-debuginfobefore 0:5.14.0-70.85.1.el9_00:5.14.0-70.85.1.el9_0
Red Hat:rhel_eus:9.0::appstreamkernel-debug-develbefore 0:5.14.0-70.85.1.el9_00:5.14.0-70.85.1.el9_0
Red Hat:rhel_eus:9.0::appstreamkernel-debug-devel-matchedbefore 0:5.14.0-70.85.1.el9_00:5.14.0-70.85.1.el9_0
Red Hat:rhel_eus:9.0::appstreamkernel-debuginfobefore 0:5.14.0-70.85.1.el9_00:5.14.0-70.85.1.el9_0
Red Hat:rhel_eus:9.0::appstreamkernel-debuginfo-common-aarch64before 0:5.14.0-70.85.1.el9_00:5.14.0-70.85.1.el9_0
Red Hat:rhel_eus:9.0::appstreamkernel-debuginfo-common-ppc64lebefore 0:5.14.0-70.85.1.el9_00:5.14.0-70.85.1.el9_0
Red Hat:rhel_eus:9.0::appstreamkernel-debuginfo-common-s390xbefore 0:5.14.0-70.85.1.el9_00:5.14.0-70.85.1.el9_0
Red Hat:rhel_eus:9.0::appstreamkernel-debuginfo-common-x86_64before 0:5.14.0-70.85.1.el9_00:5.14.0-70.85.1.el9_0
Red Hat:rhel_eus:9.0::appstreamkernel-develbefore 0:5.14.0-70.85.1.el9_00:5.14.0-70.85.1.el9_0
Red Hat:rhel_eus:9.0::appstreamkernel-devel-matchedbefore 0:5.14.0-70.85.1.el9_00:5.14.0-70.85.1.el9_0
Red Hat:rhel_eus:9.0::appstreamkernel-docbefore 0:5.14.0-70.85.1.el9_00:5.14.0-70.85.1.el9_0
Red Hat:rhel_eus:9.0::appstreamkernel-tools-debuginfobefore 0:5.14.0-70.85.1.el9_00:5.14.0-70.85.1.el9_0
Red Hat:rhel_eus:9.0::appstreamkernel-zfcpdump-debuginfobefore 0:5.14.0-70.85.1.el9_00:5.14.0-70.85.1.el9_0
Red Hat:rhel_eus:9.0::appstreamkernel-zfcpdump-develbefore 0:5.14.0-70.85.1.el9_00:5.14.0-70.85.1.el9_0
Red Hat:rhel_eus:9.0::appstreamkernel-zfcpdump-devel-matchedbefore 0:5.14.0-70.85.1.el9_00:5.14.0-70.85.1.el9_0
Red Hat:rhel_eus:9.0::appstreamperfbefore 0:5.14.0-70.85.1.el9_00:5.14.0-70.85.1.el9_0
Red Hat:rhel_eus:9.0::appstreamperf-debuginfobefore 0:5.14.0-70.85.1.el9_00:5.14.0-70.85.1.el9_0
Red Hat:rhel_eus:9.0::appstreampython3-perf-debuginfobefore 0:5.14.0-70.85.1.el9_00:5.14.0-70.85.1.el9_0
Red Hat:rhel_eus:9.0::baseosbpftoolbefore 0:5.14.0-70.85.1.el9_00:5.14.0-70.85.1.el9_0
Red Hat:rhel_eus:9.0::baseoskernelbefore 0:5.14.0-70.85.1.el9_00:5.14.0-70.85.1.el9_0
Red Hat:rhel_eus:9.0::baseoskernel-abi-stablelistsbefore 0:5.14.0-70.85.1.el9_00:5.14.0-70.85.1.el9_0

+30

Other highest-scoring records for the same primary product.

  • CVE-2022-0847A flaw was found in the way the "flags" member of the new pipe buffer structure was lacking proper initialization in copy_page_to_iter_pipe KEV
    89Now
  • CVE-2021-22555Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACEKEV
    85Now
  • CVE-2016-5195Race condition in mm/gup.c in the Linux kernel 2.x through 4.x before 4.8.3 allows local users to gain privileges by leveraging incorrect haKEV
    83Now

Published before and after this one in the same product

  • ← EarlierCVE-2023-52973Mar 27, 2025 · vc_screen: move load of struct vc_data pointer in vcs_read() to avoid UAF
    31Monitor
  • ← EarlierCVE-2023-52974Mar 27, 2025 · scsi: iscsi_tcp: Fix UAF during login when accessing the shost ipaddress
    31Monitor
  • Later →CVE-2023-52976Mar 27, 2025 · efi: fix potential NULL deref in efi_mem_reserve_persistent
    22Monitor

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
Linux Linux0af745fddefbd56198f4f35eb309215ee5f9e21eVendor (CNA)
Linux Linux17b738590b97fb3fc287289971d1519ff9b875a1Vendor (CNA)
Linux Linux6f1d64b13097e85abda0f91b5638000afc5f9a06Vendor (CNA)
Linux Linux8859687f5b242c0b057461df0a9ff51d5500783bVendor (CNA)
debian:linux6.1.11-1 · Debian:12Package registry (OSV)
red hat:kernel-rt0:5.14.0-70.85.1.rt21.156.el9_0 · Red Hat:rhel_eus:9.0::nfvPackage registry (OSV)
red hat:kernel-rt-core0:5.14.0-70.85.1.rt21.156.el9_0 · Red Hat:rhel_eus:9.0::nfvPackage registry (OSV)
red hat:kernel-rt-debug0:5.14.0-70.85.1.rt21.156.el9_0 · Red Hat:rhel_eus:9.0::nfvPackage registry (OSV)
red hat:kernel-rt-debug-core0:5.14.0-70.85.1.rt21.156.el9_0 · Red Hat:rhel_eus:9.0::nfvPackage registry (OSV)
red hat:kernel-rt-debug-debuginfo0:5.14.0-70.85.1.rt21.156.el9_0 · Red Hat:rhel_eus:9.0::nfvPackage registry (OSV)
red hat:kernel-rt-debug-devel0:5.14.0-70.85.1.rt21.156.el9_0 · Red Hat:rhel_eus:9.0::nfvPackage registry (OSV)
red hat:kernel-rt-debug-kvm0:5.14.0-70.85.1.rt21.156.el9_0 · Red Hat:rhel_eus:9.0::nfvPackage registry (OSV)
red hat:kernel-rt-debug-modules0:5.14.0-70.85.1.rt21.156.el9_0 · Red Hat:rhel_eus:9.0::nfvPackage registry (OSV)
red hat:kernel-rt-debug-modules-extra0:5.14.0-70.85.1.rt21.156.el9_0 · Red Hat:rhel_eus:9.0::nfvPackage registry (OSV)
red hat:kernel-rt-debuginfo0:5.14.0-70.85.1.rt21.156.el9_0 · Red Hat:rhel_eus:9.0::nfvPackage registry (OSV)
red hat:kernel-rt-debuginfo-common-x86_640:5.14.0-70.85.1.rt21.156.el9_0 · Red Hat:rhel_eus:9.0::nfvPackage registry (OSV)
red hat:kernel-rt-devel0:5.14.0-70.85.1.rt21.156.el9_0 · Red Hat:rhel_eus:9.0::nfvPackage registry (OSV)

Exploit status

No known public exploit

No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

No dated events beyond publication.

EPSS, last 120 days

FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

No commit or PR link among the references.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

No credits in the CNA record.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

No nightly-computed relations.

Chain candidates

An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.

—

Bug bounty scope

No known public program.

Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).

Technical details

Attack conditions

  • Someone with local access to the system can trigger it.
  • A low-privileged account is enough.
  • No user action is required.
  • No special conditions are required; it is repeatable.

If successful

Confidentiality
high · data can be read
Integrity
high · data or configuration can be modified
Availability
high · the service can be disrupted
Attack vector
Local
Attack complexity
Low
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality impact
High
Integrity impact
High
Availability impact
High

Weakness class (CWE)

CWE-416 · Use After Free

CVSS vector

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

nvd-secondary

Root cause

After a memory region is freed, another reference pointing to it is still used. By then, the same region may have been allocated for different data.

A representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.

Vulnerable

c
free(dev->buf);/* ... another thread is still running ... */process(dev->buf);

Fixed

c
lock(&dev->lock);free(dev->buf);dev->buf = NULL;unlock(&dev->lock);

Attack context

MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.

MITRE has no CAPEC/ATT&CK mapping for this CWE.

Change log

  1. Fix✗ → ✓

For records you follow, these changes also arrive as notifications. →

References

All records