lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Thu, 30 Nov 2023 15:36:59 +0100
From: Daniel Borkmann <>
To: Greg Kroah-Hartman <>,
Cc: "The UK's National Cyber Security Centre (NCSC)" <>,
 stable <>,
 Willem de Bruijn <>
Subject: Re: [PATCH net] net/packet: move reference count in packet_sock to 64

On 11/30/23 3:20 PM, Greg Kroah-Hartman wrote:
> In some potential instances the reference count on struct packet_sock
> could be saturated and cause overflows which gets the kernel a bit
> confused.  To prevent this, move to a 64bit atomic reference count to
> prevent the possibility of this type of overflow.
> Because we can not handle saturation, using refcount_t is not possible
> in this place.  Maybe someday in the future if it changes could it be
> used.
> Original version from Daniel after I did it wrong, I've provided a
> changelog.
> Reported-by: "The UK's National Cyber Security Centre (NCSC)" <>
> Cc: stable <>
> Cc: Daniel Borkmann <>
> Cc: Willem de Bruijn <>
> Signed-off-by: Greg Kroah-Hartman <>


Acked-by: Daniel Borkmann <>

Powered by blists - more mailing lists