Skip to content

afs: fix NULL alist dereference and address bitmask shifts

Elkin Cruz lkml llvm stable 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2afs: Guard NULL alist on restart in afs_select_vlserver()fs/afs/vl_rotate.c+9 -60 replies
2/2afs: Use bitops for fileserver address bitmasksfs/afs/rotate.c+4 -30 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] afs: fix NULL alist dereference and address bitmask shifts

I am trying out new Clang static analysis checks for kernel bug classes, and they flagged this code as possibly buggy. The findings were triaged/fixed and commit descriptions were drafted with help of AI, then checked against linux-next (not runtime-tested on hardware).

Thanks,
Elkin

Elkin Cruz (2):
afs: Guard NULL alist on restart in afs_select_vlserver()
afs: Use bitops for fileserver address bitmasks

 fs/afs/rotate.c    |  7 ++++---
 fs/afs/vl_rotate.c | 15 +++++++++------
 2 files changed, 13 insertions(+), 9 deletions(-)
Signature · 1 line
2.56.1.839.g22a8290db9-goog