The_Big_K
To the best of my knowledge, Ubuntu uses Debian Linux source code. Correct me if I'm wrong.
Yes, Ubuntu is based on Debian.
If you need the kernel source code, follow these steps:
1. Make sure you have the source code repository enabled. To do this, go to
System>Administration>Software Sources and check the source code repository. Reload the package information.
2. Open a terminal window and type
sudo apt-get install linux-source-2.x.xx
Replace 2.x.xx with the kernel version. If you don't know what your kernel version is, use the following command:
uname -r
The output will be something like this
"2.6.27-9-generic"
In this case you will have to replace 2.x.xx with 2.6.27
Also look at the following post for more information <a href="https://ubuntuforums.org/showthread.php?t=200634" target="_blank" rel="nofollow noopener noreferrer">Ubuntu Forums</a>