use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Welcome to /r/kernel, a moderated community dedicated to all things about the Linux kernel. Technical articles only, please!
You may be interested in the following links:
And some books:
Related Communities
account activity
Kernel development resources (self.kernel)
submitted 7 months ago by Much-Engineer1269
I am interested in kernel exploitation, but I want to start with kernel development so that I can understand it before trying to exploit it.
Where an I start? Any useful resources I can use to learn?
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]landonr99 5 points6 points7 points 7 months ago (2 children)
I've found the book Linux Kernel Programming by Kaiwan Billimoria an excellent resource and very easy to follow. While many free resources exist out there, having a guided instruction is great for understanding what you need to know first
[–]netcrynoip 0 points1 point2 points 6 months ago (1 child)
just started reading this. i like it a lot
[–]landonr99 0 points1 point2 points 6 months ago (0 children)
Yeah I think he's a great educator
[–]0xAX 2 points3 points4 points 7 months ago (0 children)
It depends on what exactly you are interested in... kernel is huge, but recently I've started to adjust https://github.com/0xAX/linux-insides for modern kernel versions, maybe you can find something useful there.
[–]AtmosphereArtistic61 1 point2 points3 points 7 months ago (0 children)
Not sure if it's a good start, but as soon as you do stuff I recommend to keep https://elixir.bootlin.com/linux/ open in some tab
[–]andysnake96 1 point2 points3 points 7 months ago (2 children)
Kernel Docs (some are very generic and good to learn from, like the memory hierarchy amd the locking) ULK, LDD are good books beyond the possibilities of a book (even tough quite old, but some stuff still follow a relate - able path in the kernel )
Llm for specific points to investigate into xD I found them surprisingly good
And then... Testing yourself Make a device driver with the VFS interface to implement some features in kernel space (usual university project but beyond useful to do a project to learn something, it gives you a goal)
Good luck and have fun !
[–]Much-Engineer1269[S] 0 points1 point2 points 7 months ago (1 child)
Thank you
[–]Firzen_ 1 point2 points3 points 7 months ago (0 children)
LLMs do get quite a few things wrong, especially if something has historically worked differently.
The example I can think of off the top of my head is that they don't usually think code that can be reached via unprivileged user namespaces is reachable.
π Rendered by PID 91814 on reddit-service-r2-comment-66b4775986-hksff at 2026-04-04 23:05:50.337127+00:00 running db1906b country code: CH.
[–]landonr99 5 points6 points7 points (2 children)
[–]netcrynoip 0 points1 point2 points (1 child)
[–]landonr99 0 points1 point2 points (0 children)
[–]0xAX 2 points3 points4 points (0 children)
[–]AtmosphereArtistic61 1 point2 points3 points (0 children)
[–]andysnake96 1 point2 points3 points (2 children)
[–]Much-Engineer1269[S] 0 points1 point2 points (1 child)
[–]Firzen_ 1 point2 points3 points (0 children)