[SRU K/J/F/B][PATCH 0/1] Fix regression introduced by CVE-2023-0461 fix

Stefan Bader stefan.bader at canonical.com
Fri Feb 3 10:57:54 UTC 2023


The fix for the CVE pulled in a code snippet which uses some error
variable which is pre-set to -EADDRINUSE. Some backports drop the
assignment, others don't. But in either way this causes issues because
after passing the new check, err is 0 but later on a failing call to
get_port() needs the pre-assignment because it returns 0/1 and not an
errno.

The submitted patch applies to K/J directly and needs some context
adjustments in F/B.

Stefan Bader (1):
  UBUNTU: SAUCE: Fix inet_csk_listen_start after CVE-2023-0461

 net/ipv4/inet_connection_sock.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

-- 
2.34.1




More information about the kernel-team mailing list