{"id":"CVE-2007-3731","aliases":["DSA-1378-1","DSA-1378-2","EUVD-2007-3715","GHSA-frx9-99ch-7q7j","RHSA-2007:0940"],"status":"published","title":"The Linux kernel 2.6.20 and 2.6.21 does not properly handle an invalid LDT segment selector in ...","description":"The Linux kernel 2.6.20 and 2.6.21 does not properly handle an invalid LDT segment selector in %cs (the xcs field) during ptrace single-step operations, which allows local users to cause a denial of service (NULL dereference and OOPS) via certain code that makes ptrace PTRACE_SETREGS and PTRACE_SINGLESTEP requests, related to the TRACE_IRQS_ON function, and possibly related to the arch_ptrace function.","severity":{"version":"2.0","score":4.9,"vector":"AV:L/AC:L/Au:N/C:N/I:N/A:C","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.00512,"percentile":0.43943,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-20"],"published":"2007-09-17T17:00:00Z","modified":"2026-06-26T12:18:03Z","affected":[{"source":"osv","ecosystem":"Debian:4.0","package":"linux-2.6","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.6.18.dfsg.1-13etch3"}]}],"versions":["2.6.18.dfsg.1-12","2.6.18.dfsg.1-12etch1","2.6.18.dfsg.1-12etch2","2.6.18.dfsg.1-13","2.6.18.dfsg.1-13etch1","2.6.18.dfsg.1-13etch2"],"bundled":5},{"source":"osv","ecosystem":"Debian:4.0","package":"fai-kernels","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.17+etch.13etch3"}]}],"versions":["1.17","1.17+etch1","1.17+etch2","1.17+etch3","1.17+etch4","1.17+etch5","1.17etch1"],"bundled":5},{"source":"osv","ecosystem":"Debian:4.0","package":"user-mode-linux","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.6.18-1um-2etch.13etch3"}]}],"versions":["2.6.18-1um-2","2.6.18-1um-2etch1","2.6.18-1um-2etch2","2.6.18-1um-2etch3","2.6.18-1um-2etch4"],"bundled":5},{"source":"osv","ecosystem":"Debian:4.0","package":"linux-2.6","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.6.18.dfsg.1-13etch3"}]}],"versions":["2.6.18.dfsg.1-12","2.6.18.dfsg.1-12etch1","2.6.18.dfsg.1-12etch2","2.6.18.dfsg.1-13","2.6.18.dfsg.1-13etch1","2.6.18.dfsg.1-13etch2"],"bundled":5},{"source":"osv","ecosystem":"Debian:4.0","package":"fai-kernels","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.17+etch.13etch3"}]}],"versions":["1.17","1.17+etch1","1.17+etch2","1.17+etch3","1.17+etch4","1.17+etch5","1.17etch1"],"bundled":5},{"source":"osv","ecosystem":"Debian:4.0","package":"user-mode-linux","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.6.18-1um-2etch.13etch3"}]}],"versions":["2.6.18-1um-2","2.6.18-1um-2etch1","2.6.18-1um-2etch2","2.6.18-1um-2etch3","2.6.18-1um-2etch4"],"bundled":5},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::client","package":"kernel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:2.6.18-8.1.15.el5"}]}],"bundled":9},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::client","package":"kernel-PAE","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:2.6.18-8.1.15.el5"}]}],"bundled":9},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::client","package":"kernel-PAE-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:2.6.18-8.1.15.el5"}]}],"bundled":9},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::client","package":"kernel-PAE-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:2.6.18-8.1.15.el5"}]}],"bundled":9},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::client","package":"kernel-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:2.6.18-8.1.15.el5"}]}],"bundled":9},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::client","package":"kernel-debuginfo-common","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:2.6.18-8.1.15.el5"}]}],"bundled":9},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::client","package":"kernel-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:2.6.18-8.1.15.el5"}]}],"bundled":9},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::client","package":"kernel-doc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:2.6.18-8.1.15.el5"}]}],"bundled":9},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::client","package":"kernel-xen","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:2.6.18-8.1.15.el5"}]}],"bundled":9},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::client","package":"kernel-xen-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:2.6.18-8.1.15.el5"}]}],"bundled":9},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::client","package":"kernel-xen-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:2.6.18-8.1.15.el5"}]}],"bundled":9},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::server","package":"kernel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:2.6.18-8.1.15.el5"}]}],"bundled":9},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::server","package":"kernel-PAE","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:2.6.18-8.1.15.el5"}]}],"bundled":9},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::server","package":"kernel-PAE-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:2.6.18-8.1.15.el5"}]}],"bundled":9},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::server","package":"kernel-PAE-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:2.6.18-8.1.15.el5"}]}],"bundled":9},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::server","package":"kernel-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:2.6.18-8.1.15.el5"}]}],"bundled":9},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::server","package":"kernel-debuginfo-common","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:2.6.18-8.1.15.el5"}]}],"bundled":9},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::server","package":"kernel-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:2.6.18-8.1.15.el5"}]}],"bundled":9},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::server","package":"kernel-doc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:2.6.18-8.1.15.el5"}]}],"bundled":9},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::server","package":"kernel-kdump","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:2.6.18-8.1.15.el5"}]}],"bundled":9},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::server","package":"kernel-kdump-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:2.6.18-8.1.15.el5"}]}],"bundled":9},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::server","package":"kernel-kdump-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:2.6.18-8.1.15.el5"}]}],"bundled":9},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::server","package":"kernel-xen","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:2.6.18-8.1.15.el5"}]}],"bundled":9},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::server","package":"kernel-xen-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:2.6.18-8.1.15.el5"}]}],"bundled":9},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::server","package":"kernel-xen-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:2.6.18-8.1.15.el5"}]}],"bundled":9}],"products":[{"vendor":"linux","product":"linux_kernel"}],"references":[{"url":"http://www.securityfocus.com/bid/25801","tags":["vdb-entry","x_refsource_BID","x_transferred"]},{"url":"http://bugzilla.kernel.org/show_bug.cgi?id=8765","tags":["x_refsource_MISC","x_transferred","Exploit"]},{"url":"http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commitdiff%3Bh=a10d9a71bafd3a283da240d2868e71346d2aef6f","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://osvdb.org/37286","tags":["vdb-entry","x_refsource_OSVDB","x_transferred"]},{"url":"http://www.redhat.com/support/errata/RHSA-2007-0940.html","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"]},{"url":"http://secunia.com/advisories/29159","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commitdiff%3Bh=29eb51101c02df517ca64ec472d7501127ad1da8","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://secunia.com/advisories/27322","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://wiki.rpath.com/wiki/Advisories:rPSA-2008-0094","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://secunia.com/advisories/26978","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://www.securityfocus.com/archive/1/488972/100/0/threaded","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred"]},{"url":"https://issues.rpath.com/browse/RPL-2304","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://www.ubuntu.com/usn/usn-518-1","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred"]},{"url":"http://secunia.com/advisories/26955","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10394","tags":["vdb-entry","signature","x_refsource_OVAL","x_transferred"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=248324","tags":["x_refsource_CONFIRM","x_transferred","Patch","report"]},{"url":"http://secunia.com/advisories/26935","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://www.debian.org/security/2007/dsa-1378","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2007-3731","tags":["advisory"]},{"url":"http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=29eb51101c02df517ca64ec472d7501127ad1da8"},{"url":"http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=a10d9a71bafd3a283da240d2868e71346d2aef6f"},{"url":"https://access.redhat.com/errata/RHSA-2007:0940","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2007-3731","tags":["report"]},{"url":"https://github.com/advisories/GHSA-frx9-99ch-7q7j"},{"url":"http://www.redhat.com/security/updates/classification/#important","tags":["article"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=245922","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=247728","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=248325","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=250972","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=252309","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=253926","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=298141","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=308811","tags":["report"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2007/rhsa-2007_0940.json","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2007-3105","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2007-3105","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2007-3105","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2007-3380","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1618315","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2007-3380","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2007-3380","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2007-3513","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2007-3513","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2007-3513","tags":["advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2007-3731","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2007-3848","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2007-3848","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2007-3848","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2007-3850","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2007-3850","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2007-3850","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2007-4133","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2007-4133","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2007-4133","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2007-4308","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2007-4308","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2007-4308","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2007-4574","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2007-4574","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2007-4574","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2007-3731","description":"The Linux kernel 2.6.20 and 2.6.21 does not properly handle an invalid LDT segment selector in %cs (the xcs field) during ptrace single-step operations, which allows local users to cause a denial of service (NULL dereference and OOPS) via certain code that makes ptrace PTRACE_SETREGS and PTRACE_SINGLESTEP requests, related to the TRACE_IRQS_ON function, and possibly related to the arch_ptrace function.","status":"published","published":"2007-09-17T17:00:00Z","modified":"2024-08-07T14:28:52.052Z","updated_at":"2026-11-02T13:32:56.730199Z"}],"euvd":[{"id":"EUVD-2007-3715","description":"The Linux kernel 2.6.20 and 2.6.21 does not properly handle an invalid LDT segment selector in %cs (the xcs field) during ptrace single-step operations, which allows local users to cause a denial of service (NULL dereference and OOPS) via certain code that makes ptrace PTRACE_SETREGS and PTRACE_SINGLESTEP requests, related to the TRACE_IRQS_ON function, and possibly related to the arch_ptrace function.","status":"published","published":"2007-09-17T17:00:00Z","modified":"2024-08-07T14:28:52Z","updated_at":"2026-11-03T01:16:24.965758Z"}],"ghsa":[{"id":"GHSA-frx9-99ch-7q7j","title":"The Linux kernel 2.6.20 and 2.6.21 does not properly handle an invalid LDT segment selector in ...","description":"The Linux kernel 2.6.20 and 2.6.21 does not properly handle an invalid LDT segment selector in %cs (the xcs field) during ptrace single-step operations, which allows local users to cause a denial of service (NULL dereference and OOPS) via certain code that makes ptrace PTRACE_SETREGS and PTRACE_SINGLESTEP requests, related to the TRACE_IRQS_ON function, and possibly related to the arch_ptrace function.","status":"published","published":"2022-05-01T18:16:49Z","modified":"2023-02-10T05:06:29Z","cwes":["CWE-20"],"updated_at":"2026-11-02T14:54:01.789224Z"}],"nvd":[{"id":"CVE-2007-3731","description":"The Linux kernel 2.6.20 and 2.6.21 does not properly handle an invalid LDT segment selector in %cs (the xcs field) during ptrace single-step operations, which allows local users to cause a denial of service (NULL dereference and OOPS) via certain code that makes ptrace PTRACE_SETREGS and PTRACE_SINGLESTEP requests, related to the TRACE_IRQS_ON function, and possibly related to the arch_ptrace function.","status":"published","published":"2007-09-17T17:17:00Z","modified":"2026-06-16T22:42:36.833Z","cvss":[{"version":"2.0","score":4.9,"vector":"AV:L/AC:L/Au:N/C:N/I:N/A:C","level":"medium","assessor":"primary"}],"cwes":["CWE-20"],"updated_at":"2026-11-02T14:01:21.141213Z"}],"osv":[{"id":"DSA-1378-1","title":"fai-kernels linux-2.6 user-mode-linux - several vulnerabilities","status":"published","published":"2007-09-27T00:00:00Z","modified":"2026-03-09T01:00:41.671401Z","updated_at":"2026-11-02T15:46:14.285228Z"},{"id":"DSA-1378-2","title":"fai-kernels linux-2.6 user-mode-linux - several vulnerabilities","status":"published","published":"2007-09-28T00:00:00Z","modified":"2026-03-09T01:02:00.286831Z","updated_at":"2026-11-02T15:46:14.285228Z"},{"id":"RHSA-2007:0940","title":"Red Hat Security Advisory: kernel security update","status":"published","published":"2024-09-15T16:54:37Z","modified":"2026-06-26T12:18:03.96522979Z","updated_at":"2026-11-02T15:52:59.70892Z"}]}}
