The patch titled ensure NULL deref can't possibly happen in is_exported() has been removed from the -mm tree. Its filename is ensure-null-deref-cant-possibly-happen-in-is_exported.patch This patch was dropped because it was merged into mainline or a subsystem tree ------------------------------------------------------ Subject: ensure NULL deref can't possibly happen in is_exported() From: Jesper Juhl <jesper.juhl@xxxxxxxxx> If CONFIG_KALLSYMS is defined and if it should happen that is_exported() is given a NULL 'mod' and lookup_symbol(name, __start___ksymtab, __stop___ksymtab) returns 0, then we'll end up dereferencing a NULL pointer. Signed-off-by: Jesper Juhl <jesper.juhl@xxxxxxxxx> Cc: Rusty Russell <rusty@xxxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxx> --- kernel/module.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -puN kernel/module.c~ensure-null-deref-cant-possibly-happen-in-is_exported kernel/module.c --- a/kernel/module.c~ensure-null-deref-cant-possibly-happen-in-is_exported +++ a/kernel/module.c @@ -1326,7 +1326,7 @@ int is_exported(const char *name, const if (!mod && lookup_symbol(name, __start___ksymtab, __stop___ksymtab)) return 1; else - if (lookup_symbol(name, mod->syms, mod->syms + mod->num_syms)) + if (mod && lookup_symbol(name, mod->syms, mod->syms + mod->num_syms)) return 1; else return 0; _ Patches currently in -mm which might be from jesper.juhl@xxxxxxxxx are origin.patch small-whitespace-cleanup-for-qlogic-driver.patch add-scsi_add_host-failure-handling-for-nsp32.patch bluetooth-fix-potential-null-ptr-deref-in-dtl1_cscdtl1_hci_send_frame.patch i-force-joystick-remove-some-pointless-casts.patch remove-redundant-null-checks-before-free-in-fs.patch remove-redundant-null-checks-before-free-in-kernel.patch remove-redundant-null-checks-before-free-in-drivers.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html