+7
−6
Loading
mainline inclusion from mainline-v6.10-rc1 commit 01daf66b791e1ddd1a4aae2a65ea65fa1d4a96ef category: bugfix bugzilla: https://gitee.com/src-openeuler/kernel/issues/IBN6ZL CVE: CVE-2025-21702 Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=01daf66b791e1ddd1a4aae2a65ea65fa1d4a96ef -------------------------------- Instead of relying on RTNL, __fifo_dump() can use READ_ONCE() annotations, paired with WRITE_ONCE() ones in __fifo_init(). Also add missing READ_ONCE(sh->limit) in bfifo_enqueue(), pfifo_enqueue() and pfifo_tail_enqueue(). Signed-off-by:Eric Dumazet <edumazet@google.com> Reviewed-by:
Simon Horman <horms@kernel.org> Signed-off-by:
David S. Miller <davem@davemloft.net> Signed-off-by:
Wang Liang <wangliang74@huawei.com>