Skip to contentSkip to conversation

Memory leak in security_netlbl_sid_to_secattr(), kernel 2.6.23.12

DISCUSSION Chuck Ebbert 2 participants 2 messages Jan 18, 2008 – Jan 19, 2008

Subsystems (2)
lore
Share & tools
lore
#1 lore raw
Quoted 7 lines · Chuck Ebbert

We have two reports of this now.

https://bugzilla.redhat.com/show_bug.cgi?id=352281

The user enabled SLUB user tracing and reports that the entries created by security_netlbl_sid_to_secattr() were increasing the most. Disabling selinux makes the problem go away completely.

Thanks for the report, sorry about the leak. I just posted an RFC patch, CC'd to you, which I believe should fix the problem. I did a quick compile test on the SELinux module but I am "on vacation" with family visiting so I am currently unable to do any real testing until next week.

I've added myself to the bugzilla, but if you are able to do any tests please let me know if the patch does or does not solve the problem.

Thanks.

Signature · 2 lines
paul moore
linux security @ hp