Commit 57c06b6e authored by Linus Torvalds's avatar Linus Torvalds
Browse files
Pull module update from Luis Chamberlain:
 "There is only one patch which qualifies for modules for v5.18-rc1 and
  its a small fix from Dan Carpenter for lib/test_kmod module.

  The rest of the changes are too major and landed in modules-testing
  too late for inclusion. The good news is that most of the major
  changes for v5.19 is going to be tested very early through linux-next.

  This simple fix is all we have for modules for v5.18-rc1"

* tag 'modules-5.18-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/mcgrof/linux:
  lib/test: use after free in register_test_dev_kmod()
parents 74164d28 dc0ce6cc
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1149,6 +1149,7 @@ static struct kmod_test_device *register_test_dev_kmod(void)
	if (ret) {
		pr_err("could not register misc device: %d\n", ret);
		free_test_dev_kmod(test_dev);
		test_dev = NULL;
		goto out;
	}