PT-2026-161407
Published
2026-11-19
·
Updated
2026-11-19
Description by
Score
N/A
Not availableNo severity ratings or metrics are available. When they are, we'll update the corresponding info on the page.
In the Linux kernel, the following vulnerability has been resolved:
sunrpc: pin gss module across auth domain RCU free
A gss auth domain stores a raw pointer to svcauthops gss in
dom->flavour, and its release queues svcauth gss domain release rcu()
via call rcu(). Both live in auth rpcgss.ko text, and nothing pins the
module while a domain referencing it is reachable. rmmod auth rpcgss
can therefore unmap that text while an NFSD export still holds a
reference to the domain.
The export cache is one such holder. When the export is finally
released, the domain reference drops from module text:
svc export put()
auth domain put(exp->ex client)
auth domain release()
dom->flavour->domain release(dom) /* into module text */
svcauth gss domain release()
call rcu(&dom->rcu head,
svcauth gss domain release rcu)
Once auth rpcgss is unloaded, the domain release call lands in
unmapped memory. The rcu barrier() in exit rpcsec gss() does not
help: it waits only for callbacks already queued, and this one is
not queued until the export goes away.
NFSD's NFSv4 objects import symbols from auth rpcgss.ko, so only a
server built without CONFIG NFSD V4 can unload auth rpcgss while
exports still name a gss domain.
Take a module reference in svcauth gss register pseudoflavor() before
publishing the domain and drop it at the end of
svcauth gss domain release rcu(). The rcu barrier() then holds the
module image until this callback has returned.
[ cel: rewrote description ]
Vendors
Affected products
Related identifiers
Found an issue in the description? Have something to add? Feel free to write us 👾