[SRU][F][PATCH v2 0/1] UBUNTU: SAUCE: fix tcp NULL ptr deref

Bethany Jamison bethany.jamison at canonical.com
Fri Sep 6 17:23:46 UTC 2024


Buglink: https://bugs.launchpad.net/bugs/2077657

[Impact]

This patch fixes bug LP#2077657 where a system crash is reported due
to a NULL pointer dereference in TCP. This is because of issues
accurately tracking packets in the write or retransmit queues. This
patch checks that the skb is non-null before trying to read the 
timestamp.

[Fix]

add a check that the skb is non-null before trying to read the timestamp

[Test]

Compile tested

[Where problems could occur]

This fix affects those who use tcp, an issue with this fix would be 
visible to the user via a system crash.

v2: adjusted to better match stable patch format

Bethany Jamison (1):
  fix NULL ptr deref causing system crash

 include/net/tcp.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

-- 
2.34.1




More information about the kernel-team mailing list