oss-sec mailing list archives

CVE request: kernel: flat: fix uninitialized ptr with shared libs


From: Eugene Teo <eugeneteo () kernel sg>
Date: Thu, 13 Aug 2009 09:10:51 +0800

The new credentials code broke load_flat_shared_library() as it now uses
an uninitialised cred pointer, leading to a NULL pointer dereference.
This can be triggered by running a shared flat binary.

kernel/cred.c was introduced in v2.6.29-rc1 IIRC.

Upstream commit:
http://git.kernel.org/linus/3440625d78711bee41a84cf29c3d8c579b522666

References:
http://lkml.org/lkml/2009/6/22/91
http://thread.gmane.org/gmane.linux.hardware.blackfin.kernel.devel/1905

Thanks, Eugene


Current thread: