CVE-2022-49670: linux/dim: Fix divide by 0 in RDMA DIM

Published Feb 26, 2025
·
Updated

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

linux/dim: Fix divide by 0 in RDMA DIM

Fix a divide 0 error in rdmadimstatscompare() when prev->cperatio == 0.

CallTrace: Hardware name: H3C R4900 G3/RS33M2C9S, BIOS 2.00.37P21 03/12/2020 task: ffff880194b78000 task.stack: ffffc90006714000 RIP: 0010:backportrdmadim+0x10e/0x240 [mlxcompat] RSP: 0018:ffff880c10e83ec0 EFLAGS: 00010202 RAX: 0000000000002710 RBX: ffff88096cd7f780 RCX: 0000000000000064 RDX: 0000000000000000 RSI: 0000000000000002 RDI: 0000000000000001 RBP: 0000000000000001 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 000000001d7c6c09 R13: ffff88096cd7f780 R14: ffff880b174fe800 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff880c10e80000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000a0965b00 CR3: 000000000200a003 CR4: 00000000007606e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 PKRU: 55555554 Call Trace: <IRQ> ibpollhandler+0x43/0x80 [ibcore] irqpollsoftirq+0xae/0x110 dosoftirq+0xd1/0x28c irqexit+0xde/0xf0 doIRQ+0x54/0xe0 commoninterrupt+0x8f/0x8f </IRQ> ? cpuidleenterstate+0xd9/0x2a0 ? cpuidleenterstate+0xc7/0x2a0 ? doidle+0x170/0x1d0 ? cpustartupentry+0x6f/0x80 ? startsecondary+0x1b9/0x210 ? secondarystartup64+0xa5/0xb0 Code: 0f 87 e1 00 00 00 8b 4c 24 14 44 8b 43 14 89 c8 4d 63 c8 44 29 c0 99 31 d0 29 d0 31 d2 48 98 48 8d 04 80 48 8d 04 80 48 c1 e0 02 <49> f7 f1 48 83 f8 0a 0f 86 c1 00 00 00 44 39 c1 7f 10 48 89 df RIP: backportrdmadim+0x10e/0x240 [mlxcompat] RSP: ffff880c10e83ec0

Other sources

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

linux/dim: Fix divide by 0 in RDMA DIM

Fix a divide 0 error in rdmadimstatscompare() when prev-cperatio == 0.

CallTrace: Hardware name: H3C R4900 G3/RS33M2C9S, BIOS 2.00.37P21 03/12/2020 task: ffff880194b78000 task.stack: ffffc90006714000 RIP: 0010:backportrdmadim+0x10e/0x240 [mlxcompat] RSP: 0018:ffff880c10e83ec0 EFLAGS: 00010202 RAX: 0000000000002710 RBX: ffff88096cd7f780 RCX: 0000000000000064 RDX: 0000000000000000 RSI: 0000000000000002 RDI: 0000000000000001 RBP: 0000000000000001 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 000000001d7c6c09 R13: ffff88096cd7f780 R14: ffff880b174fe800 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff880c10e80000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000a0965b00 CR3: 000000000200a003 CR4: 00000000007606e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 PKRU: 55555554 Call Trace: IRQ ibpollhandler+0x43/0x80 [ibcore] irqpollsoftirq+0xae/0x110 dosoftirq+0xd1/0x28c irqexit+0xde/0xf0 doIRQ+0x54/0xe0 commoninterrupt+0x8f/0x8f /IRQ ? cpuidleenterstate+0xd9/0x2a0 ? cpuidleenterstate+0xc7/0x2a0 ? doidle+0x170/0x1d0 ? cpustartupentry+0x6f/0x80 ? startsecondary+0x1b9/0x210 ? secondarystartup64+0xa5/0xb0 Code: 0f 87 e1 00 00 00 8b 4c 24 14 44 8b 43 14 89 c8 4d 63 c8 44 29 c0 99 31 d0 29 d0 31 d2 48 98 48 8d 04 80 48 8d 04 80 48 c1 e0 02 49 f7 f1 48 83 f8 0a 0f 86 c1 00 00 00 44 39 c1 7f 10 48 89 df RIP: backportrdmadim+0x10e/0x240 [mlxcompat] RSP: ffff880c10e83ec0

IBM

Affected Software

13 affected components
Linux Kernel
Linux Linux kernel>=5.3<5.4.204
Linux Linux kernel>=5.5<5.10.129
Linux Linux kernel>=5.11<5.15.53
Linux Linux kernel>=5.16<5.18.10
Linux Linux kernel=5.19-rc1
Linux Linux kernel=5.19-rc2
Linux Linux kernel=5.19-rc3
Linux Linux kernel=5.19-rc4
IBM Verify Identity Access<=11.0 - 11.0.2
IBM Security Verify Access<=10.0 - 10.0.9.1
IBM Verify Identity Access Container<=11.0 - 11.0.2
IBM Security Verify Access Container<=10.0 - 10.0.9.1

Event History

Feb 26, 2025
CVE Published
via MITRE·02:24 AM
Data Sourced
via MITRE·02:24 AM
Description
Data Sourced
via Red Hat·03:11 AM
DescriptionSeverityAffected Software
Data Sourced
via NVD·07:01 AM
RemedyDescriptionSeverityWeaknessAffected Software
Jul 8, 2026
Data Sourced
via IBM·12:00 AM
DescriptionAffected 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-2022-49670?

CVE-2022-49670 has a low severity rating due to its specific context and impact.

2

How do I fix CVE-2022-49670?

To resolve CVE-2022-49670, update your Linux kernel to a version that includes the patch for this vulnerability.

3

What versions of the Linux kernel are affected by CVE-2022-49670?

CVE-2022-49670 affects Linux kernel versions from 5.3 to 5.19-rc4.

4

What is the impact of CVE-2022-49670 on systems?

The impact of CVE-2022-49670 could lead to a system crash due to a divide by zero error.

5

Is CVE-2022-49670 related to RDMA functionality?

Yes, CVE-2022-49670 specifically concerns a divide by zero error in the RDMA DIM module.

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