7.8
CWE
476
Advisory Published
CVE Published
Updated

CVE-2023-3106: Kernel: netlink socket crash (null pointer deref) in netlink_dump function

First published: Sun Jul 09 2023(Updated: )

A flaw in the Linux Kernel found in netlink_dump. When the Netlink socket receives the message(sendmsg), for the XFRM_MSG_GETSA, XFRM_MSG_GETPOLICY type message and the DUMP flag is set, it will enter the netlink_dump function for processing. When sending data to the socket multiple times, it will make sk-&gt;sk_rmem_alloc continues to accumulate, and eventually atomic_read(&amp;sk-&gt;sk_rmem_alloc) &gt;= sk-&gt;sk_rcvbuf will be judged as True, skipping the initialization of netlink_callback-&gt;args. Reference: <a href="https://github.com/torvalds/linux/commit/1ba5bf993c6a3142e18e68ea6452b347f9cb5635">https://github.com/torvalds/linux/commit/1ba5bf993c6a3142e18e68ea6452b347f9cb5635</a>

Credit: secalert@redhat.com secalert@redhat.com

Affected SoftwareAffected VersionHow to fix
Linux Linux kernel=4.8-rc6
Linux Linux kernel=4.8-rc5
Linux Linux kernel=4.8-rc4
Linux Linux kernel=4.8-rc3
Linux Linux kernel=4.8-rc2
Linux Linux kernel=4.8-rc1
Linux Linux kernel<4.8
Fedoraproject Fedora=38
redhat/kernel<4.8
4.8
Linux Linux kernel>=3.15<3.16.39
Linux Linux kernel>=3.17<4.4.223
Linux Linux kernel>=4.5<4.7.10

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is CVE-2023-3106?

    CVE-2023-3106 is a NULL pointer dereference vulnerability found in netlink_dump, which can cause a denial of service or other impact.

  • How does CVE-2023-3106 occur?

    CVE-2023-3106 occurs when the Netlink socket receives the message for the XFRM_MSG_GETSA or XFRM_MSG_GETPOLICY type message with the DUMP flag set.

  • What is the severity of CVE-2023-3106?

    CVE-2023-3106 has a severity level of high.

  • How do I fix CVE-2023-3106?

    To fix CVE-2023-3106, update the affected software to version 4.8 or above.

  • Where can I find more information about CVE-2023-3106?

    You can find more information about CVE-2023-3106 at the following references: [link1](https://github.com/torvalds/linux/commit/1ba5bf993c6a3142e18e68ea6452b347f9cb5635), [link2](https://bugzilla.redhat.com/show_bug.cgi/show_bug.cgi?id=2222176), [link3](https://access.redhat.com/security/cve/cve-2023-3106).

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.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203