CVE-2024-26615: net/smc: fix illegal rmb_desc access in SMC-D connection dump

Published Feb 29, 2024
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

net/smc: fix illegal rmbdesc access in SMC-D connection dump

A crash was found when dumping SMC-D connections. It can be reproduced by following steps:

- run nginx/wrk test: smcrun nginx smcrun wrk -t 16 -c 1000 -d <duration> -H 'Connection: Close' <URL>

- continuously dump SMC-D connections in parallel: watch -n 1 'smcss -D'

BUG: kernel NULL pointer dereference, address: 0000000000000030 CPU: 2 PID: 7204 Comm: smcss Kdump: loaded Tainted: G E 6.7.0+ #55 RIP: 0010:smcdiagdump.constprop.0+0x5e5/0x620 [smcdiag] Call Trace: <TASK> ? die+0x24/0x70 ? pagefaultoops+0x66/0x150 ? excpagefault+0x69/0x140 ? asmexcpagefault+0x26/0x30 ? smcdiagdump.constprop.0+0x5e5/0x620 [smcdiag] ? kmallocnodetrackcaller+0x35d/0x430 ? allocskb+0x77/0x170 smcdiagdumpproto+0xd0/0xf0 [smcdiag] smcdiagdump+0x26/0x60 [smcdiag] netlinkdump+0x19f/0x320 netlinkdumpstart+0x1dc/0x300 smcdiaghandlerdump+0x6a/0x80 [smcdiag] ? pfxsmcdiagdump+0x10/0x10 [smcdiag] sockdiagrcvmsg+0x121/0x140 ? pfxsockdiagrcvmsg+0x10/0x10 netlinkrcvskb+0x5a/0x110 sockdiagrcv+0x28/0x40 netlinkunicast+0x22a/0x330 netlinksendmsg+0x1f8/0x420 socksendmsg+0xb0/0xc0 syssendmsg+0x24e/0x300 ? copymsghdrfromuser+0x62/0x80 syssendmsg+0x7c/0xd0 ? dofault+0x34/0x160 ? doreadfault+0x5f/0x100 ? dofault+0xb0/0x110 ? handlemmfault+0x2b0/0x6c0 syssendmsg+0x4d/0x80 dosyscall64+0x69/0x180 entrySYSCALL64afterhwframe+0x6e/0x76

It is possible that the connection is in process of being established when we dump it. Assumed that the connection has been registered in a link group by smcconncreate() but the rmbdesc has not yet been initialized by smcbufcreate(), thus causing the illegal access to conn->rmbdesc. So fix it by checking before dump.

Other sources

In the Linux kernel, the following vulnerability has been resolved:

net/smc: fix illegal rmbdesc access in SMC-D connection dump

The Linux kernel CVE team has assigned CVE-2024-26615 to this issue.

Upstream advisory: https://lore.kernel.org/linux-cve-announce/20240229155245.1571576-47-lee@kernel.org/T/#u

Red Hat

Linux Kernel is vulnerable to a denial of service, caused by illegal rmbdesc access in SMC-D connection dump. A local attacker could exploit this vulnerability to cause a denial of service.

IBM

Affected Software

21 affected componentsFixes available
Linux Linux kernel>=4.19<4.19.307
Linux Linux kernel>=4.20<5.4.269
Linux Linux kernel>=5.5<5.10.210
Linux Linux kernel>=5.11<5.15.149
Linux Linux kernel>=5.16<6.1.76
Linux Linux kernel>=6.2<6.6.15
Linux Linux kernel>=6.7<6.7.3
Linux Linux kernel=6.8-rc1
IBM Security Verify Governance<=ISVG 10.0.2
IBM Security Verify Governance, Identity Manager Software Stack<=ISVG 10.0.2
IBM Security Verify Governance, Identity Manager Virtual Appliance<=ISVG 10.0.2
IBM Security Verify Governance Identity Manager Container<=ISVG 10.0.2
redhat/kernel<4.19.307
4.19.307
redhat/kernel<5.4.269
5.4.269
redhat/kernel<5.10.210
5.10.210
redhat/kernel<5.15.149
5.15.149
redhat/kernel<6.1.76
6.1.76
redhat/kernel<6.6.15
6.6.15
redhat/kernel<6.7.3
6.7.3
redhat/kernel<6.8
6.8
debian/linux
5.10.223-15.10.234-16.1.129-16.1.135-16.12.25-16.12.27-1

Event History

Feb 29, 2024
CVE Published
via MITRE·03:52 PM
Data Sourced
via MITRE·03:52 PM
Description
Mar 1, 2024
Data Sourced
via Red Hat·08:27 PM
DescriptionSeverityAffected Software
May 11, 2024
Data Sourced
via Launchpad·08:29 PM
Description
May 11, 2025
Data Sourced
via Ubuntu·06:14 AM
RemedyDescriptionSeverityAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2024-26615?

CVE-2024-26615 is considered a high severity vulnerability due to the potential for system crashes when dumping SMC-D connections.

2

How do I fix CVE-2024-26615?

To fix CVE-2024-26615, update your Linux kernel to versions 4.19.307, 5.4.269, 5.10.210, 5.15.149, 6.1.76, 6.6.15, or 6.8.

3

Which Linux kernel versions are affected by CVE-2024-26615?

CVE-2024-26615 affects multiple Linux kernel versions, including those before 4.19.307, 5.4.269, 5.10.210, 5.15.149, 6.1.76, and 6.6.15.

4

What component of the Linux kernel is impacted by CVE-2024-26615?

CVE-2024-26615 impacts the net/smc component related to SMC-D connection dumping.

5

Can CVE-2024-26615 lead to denial of service?

Yes, CVE-2024-26615 can result in a denial of service condition due to crashes caused during SMC-D connection dumps.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203