The two firms will dismiss all the suits as quickly as possible and a settlement is expected to be finalised by the end of this month, Samsung said in a statement following the out-of-court agreement.
As part of the deal the companies had reached licensing agreements for each other's LED (light-emitting diode) patents, it said.
They had also signed a memorandum of understanding on possible joint development of future LED-based products.
The suits had been filed in Germany, South Korea, the United States and other countries.
"We are glad to enter with Samsung in a new area of partnership-based competition," the statement quoted Osram CEO Wolfgang Dehen as saying.
Samsung Electronics said it looked forward to building a strategic relationship with Osram, a wholly owned subsidiary of Germany's Siemens.
Osram announced in August last year that it had filed a complaint in South Korea against LG and Samsung for patent violations, a move it had already taken in four other countries.
It said the two South Korean companies had violated patents on LED lighting, commonly used in television sets and computer display screens.
The announcement comes as Samsung Electronics is embroiled in an international legal battle with US giant Apple over patents for its smartphones and tablet computers.
In a key case being heard in the US city of San Jose, the judge Wednesday urged the chiefs of Apple and Samsung to negotiate a truce in the trial and said it was "time for peace".
US District Court Judge Lucy Koh asked the heads of Apple and Samsung to speak on the phone to reach a legal settlement before the matter is put in the hands of jurors, probably late next week.
Apple accuses Samsung of unabashedly copying features from iPads and iPhones for competing gadgets powered by Google backed Android software and is seeking more than $2.5 billion in damages.
Samsung adamantly denies any wrongdoing and is intent on showing that it is Apple who has infringed on its patents.
For the latest tech news and reviews, follow Gadgets 360 on X, Facebook, WhatsApp, Threads and Google News. For the latest videos on gadgets and tech, subscribe to our YouTube channel. If you want to know everything about top influencers, follow our in-house Who'sThat360 on Instagram and YouTube.