CVE-2024-36476: RDMA/rtrs: Ensure 'ib_sge list' is accessible

Published Jan 15, 2025
·
Updated

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

RDMA/rtrs: Ensure 'ibsge list' is accessible

Move the declaration of the 'ibsge list' variable outside the 'alwaysinvalidate' block to ensure it remains accessible for use throughout the function.

Previously, 'ibsge list' was declared within the 'alwaysinvalidate' block, limiting its accessibility, then caused a 'BUG: kernel NULL pointer dereference'[1]. ? diebody.cold+0x19/0x27 ? pagefaultoops+0x15a/0x2d0 ? searchmoduleextables+0x19/0x60 ? searchbpfextables+0x5f/0x80 ? excpagefault+0x7e/0x180 ? asmexcpagefault+0x26/0x30 ? memcpyorig+0xd5/0x140 rxemrcopy+0x1c3/0x200 [rdmarxe] ? rxepoolgetindex+0x4b/0x80 [rdmarxe] copydata+0xa5/0x230 [rdmarxe] rxerequester+0xd9b/0xf70 [rdmarxe] ? finishtaskswitch.isra.0+0x99/0x2e0 rxesender+0x13/0x40 [rdmarxe] dotask+0x68/0x1e0 [rdmarxe] processonework+0x177/0x330 workerthread+0x252/0x390 ? pfxworkerthread+0x10/0x10

This change ensures the variable is available for subsequent operations that require it.

[1] https://lore.kernel.org/linux-rdma/6a1f3e8f-deb0-49f9-bc69-a9b03ecfcda7@fujitsu.com/

Other sources

This CVE was automatically created from a reference found in an email or other text. If you are reading this, then this CVE entry is probably erroneous, since this text should be replaced by the official CVE description automatically.

Launchpad

Affected Software

17 affected componentsFixes available
Linux Linux kernel
Linux Linux kernel>=5.8<5.10.233
Linux Linux kernel>=5.11<5.15.176
Linux Linux kernel>=5.16<6.1.124
Linux Linux kernel>=6.2<6.6.70
Linux Linux kernel>=6.7<6.12.9
Linux Linux kernel=6.13-rc1
Linux Linux kernel=6.13-rc2
Linux Linux kernel=6.13-rc3
Linux Linux kernel=6.13-rc4
Linux Linux kernel=6.13-rc5
debian/linux<=5.10.223-1
5.10.234-16.1.129-16.1.135-16.12.27-1
debian/linux-6.1
6.1.129-1~deb11u1
Microsoft cbl2 kernel 5.15.173.1-2<5.15.176.3-1
5.15.176.3-1
Microsoft azl3 kernel 6.6.76.1-1<6.6.76.1-1
6.6.76.1-1
Microsoft azl3 kernel 6.6.64.2-9<6.6.76.1-1
6.6.76.1-1
Microsoft cbl2 kernel 5.15.176.3-1<5.15.176.3-1
5.15.176.3-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 5.10.234-1Fixed in 6.1.129-1Fixed in 6.1.135-1Fixed in 6.12.27-1
  2. Upgrade

    Upgrade debian/linux-6.1 to a version that resolves this vulnerability.

    Fixed in 6.1.129-1~deb11u1
  3. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 5.15.176.3-1
  4. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 6.6.76.1-1
  5. Configuration

    In the Linux kernel RDMA/rtrs code, move the declaration of the 'ib_sge list' variable outside the 'always_invalidate' block so it remains accessible for use throughout the function (previously it was declared inside the 'always_invalidate' block, which could lead to a 'BUG: kernel NULL pointer dereference').

    Linux kernel (RDMA/rtrs) always_invalidate block variable scope = Move 'ib_sge list' declaration outside the 'always_invalidate' block

Event History

Jan 15, 2025
CVE Published
via MITRE·01:10 PM
Data Sourced
via MITRE·01:10 PM
DescriptionSeverity
Data Sourced
via NVD·01:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Mar 8, 2025
Data Sourced
via Microsoft·08:00 AM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·08:00 AM
Affected Software
Updated
via Microsoft·08:00 AM
Description
Updated
via Microsoft·08:00 AM
DescriptionSeverity
Mar 31, 2025
Data Sourced
via Launchpad·06:44 PM
Description
Apr 28, 2025
Data Sourced
via Ubuntu·06:50 PM
RemedyDescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2024-36476?

CVE-2024-36476 has a severity rating that indicates it impacts the accessibility of the 'ib_sge list' variable within the Linux kernel.

2

How do I fix CVE-2024-36476?

To fix CVE-2024-36476, ensure that the 'ib_sge list' variable is declared outside the 'always_invalidate' block in the affected functions.

3

Which versions of Linux kernel are affected by CVE-2024-36476?

CVE-2024-36476 affects multiple versions of the Linux kernel ranging from 5.8 to 6.13-rc5.

4

What components are impacted by CVE-2024-36476?

CVE-2024-36476 impacts the RDMA/rtrs component of the Linux kernel.

5

Is there a workaround for CVE-2024-36476?

Currently, there is no documented workaround for CVE-2024-36476 other than applying the necessary code changes.

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