oss-sec mailing list archives

Linux kernel: Flaw in CXGB3 driver.


From: Wade Mealing <wmealing () redhat com>
Date: Thu, 11 Feb 2016 06:40:10 -0500 (EST)

Gday,

I would like a CVE for the following issue:

A flaw was found in the CXGB3 kernel driver when the network was considered congested.  The kernel would incorrectly 
misinterpret the congestion as an error condition and incorrectly free/clean up the skb. When the device would then 
send the skb's queued, these structures would be referenced and may panic the system or allow an attacker to escalate 
privileges in a use-after-free scenario.

The bug and the problematic free is shown shown in the patch[1]: 

----

The cxgb3_*_send() functions return NET_XMIT_ values, which are
positive integers values. So don't treat positive return values
as an error.
----

Thanks,

Wade Mealing
Red Hat Product Security Team

== References:

Upstream fix commit[1]:
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=67f1aee6f45059fd6b0f5b0ecb2c97ad0451f6b3

Red Hat bug:
https://bugzilla.redhat.com/show_bug.cgi?id=1303532


Current thread: