You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
libselinux: limit node depth while parsing compiled fcontexts
Limit the node depth while parsing a pre-compiled fcontext definition to
avoid unlimited recursions causing stack overflows.
Use a sufficiently high value of 32, instead of the node depth of
currently 3 for generating a database, to not unnecessarily limit
custom changes.
Fixes: 92306da ("libselinux: rework selabel_file(5) database")
Reported-by: oss-fuzz (issues 388615595 and 388592303)
Signed-off-by: Christian Göttsche <[email protected]>
Acked-by: James Carter <[email protected]>
0 commit comments