All of lore.kernel.org
 help / color / mirror / Atom feed
* Question about CVE-2022-43945
@ 2022-11-12  5:01 yangerkun
  2022-11-12  9:04 ` yangerkun
  0 siblings, 1 reply; 5+ messages in thread
From: yangerkun @ 2022-11-12  5:01 UTC (permalink / raw)
  To: chuck.lever, jlayton; +Cc: linux-nfs, yi.zhang, yangerkun

Hi, Chuck Lever,

CVE-2022-43945(https://nvd.nist.gov/vuln/detail/CVE-2022-43945) describe 
that a normal request header ended with garbage data can trigger the 
nfsd overflow since nfsd share the request and response with the same 
pages array.

It seems that the 
patchset(https://lore.kernel.org/linux-nfs/166204973526.1435.6068003336048840051.stgit@manet.1015granger.net/T/#t) 
has solved NFSv2/NFSv3, but leave NFSv4 still vulnerably?

Another question, for stable branch like lts-5.10, since NFSv2/NFSv3 did 
not switch to xdr_stream, the nfs_request_too_big in nfsd_dispatch will 
reject the request like READ/READDIR with too large request. So it seems 
branch without that "switch" seems ok for NFSv2/NFSv3, but NFSv3 still 
vulnerably. right?

Looking forward to your reply!

Thanks,
Erkun Yang

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-01-22  0:57 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-11-12  5:01 Question about CVE-2022-43945 yangerkun
2022-11-12  9:04 ` yangerkun
2022-11-12 16:11   ` Chuck Lever III
2023-01-21 14:09     ` Salvatore Bonaccorso
2023-01-22  0:56       ` NeilBrown

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.