[SRU][Focal][PATCH 0/1] CVE-2020-36691

Yuxuan Luo yuxuan.luo at canonical.com
Sun May 28 19:00:08 UTC 2023


[Impact]
nlattr.c does not bound the recursion depth, therefore, in theory, attackers
can issue a policy referring to its upper level, causing a infinite loop.

[Backport]
There is a conflict in cherry picking which requires backporting a
refactoring commit; it could be ignored by keeping the data structure before
refactoring.

[Test]
Compile and boot tested.

[Potential Regression]
Expecting low regression potential limited to lib/nlattr.c.

Yuxuan Luo (1):
  netlink: limit recursion depth in policy validation

 lib/nlattr.c | 46 ++++++++++++++++++++++++++++++++++------------
 1 file changed, 34 insertions(+), 12 deletions(-)

-- 
2.34.1




More information about the kernel-team mailing list