CVE Catalog

CVE-2024-35886

High
Published: Translated: NVD NIST

Summary

A vulnerability has been identified in the Linux kernel that led to infinite recursion in the fib6_dump_done() function during netlink socket destruction. The issue occurred due to memory allocation errors, which could lead to system crashes.

Risk Assessment

This vulnerability may lead to system instability, potentially affecting the availability of services within the organization. If exploited, an attacker could cause system failures.

Recommendation

It is recommended to update the Linux kernel to the latest version where this vulnerability has been fixed. Regular monitoring and updating of systems is crucial for maintaining security.

Other vulnerabilities in Linux kernel

See all
Original NVD description (English source)

In the Linux kernel, the following vulnerability has been resolved: ipv6: Fix infinite recursion in fib6_dump_done(). syzkaller reported infinite recursive calls of fib6_dump_done() during netlink socket destruction. [1] From the log, syzkaller sent an AF_UNSPEC RTM_GETROUTE message, and then the response was generated. The following recvmmsg() resumed the dump for IPv6, but the first call of inet6_dump_fib() failed at kzalloc() due to the fault injection. [0] 12:01:34 executing program 3: r0 = socket$nl_route(0x10, 0x3, 0x0) sendmsg$nl_route(r0, ... snip ...) recvmmsg(r0, ... snip ...) (fail_nth: 8) Here, fib6_dump_done() was set to nlk_sk(sk)->cb.done, and the next call of inet6_dump_fib() set it to nlk_sk(sk)->cb.args[3]. syzkaller stopped receiving the response halfway through, and finally netlink_sock_destruct() called nlk_sk(sk)->cb.done(). fib6_dump_done() calls fib6_dump_end() and nlk_sk(sk)->cb.done() if it is still not NULL. fib6_dump_end() rewrites nlk_sk(

Vulnerability data from NVD (NIST) · CISA KEV · EPSS