Commit 57c06b6e authored by Linus Torvalds's avatar Linus Torvalds

Merge tag 'modules-5.18-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/mcgrof/linux

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
...@@ -1149,6 +1149,7 @@ static struct kmod_test_device *register_test_dev_kmod(void) ...@@ -1149,6 +1149,7 @@ static struct kmod_test_device *register_test_dev_kmod(void)
if (ret) { if (ret) {
pr_err("could not register misc device: %d\n", ret); pr_err("could not register misc device: %d\n", ret);
free_test_dev_kmod(test_dev); free_test_dev_kmod(test_dev);
test_dev = NULL;
goto out; goto out;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment